Skip to main content
9 events
when toggle format what by license comment
Apr 29, 2022 at 17:33 history edited unor CC BY-SA 4.0
added 101 characters in body
Apr 29, 2022 at 17:31 comment added unor @FabienSnauwaert: In case you are not aware, at the time of OP’s question (2013), "body-ok" didn’t exist yet, so my answer was accurate back then. Also note that zgreen’s answer is not complete, as it misses the case with the property attribute which I described in my answer. –– Thanks for the notice. I’ll edit my answer to include the additonal cases.
Apr 28, 2022 at 16:10 comment added Fabien Snauwaert This answer is wrong. zgreens' answer below is correct and includes relevant quotes and links to MDN and the W3C spec.
Nov 14, 2013 at 12:20 vote accept Edward Touw
Nov 14, 2013 at 9:18 history edited unor CC BY-SA 3.0
added OA’s example
Nov 14, 2013 at 9:10 comment added unor @EdwardTouw: Yes; you MUST give the href attribute in any case. So as long as the link element has an itemprop attribute, you may use it in the body. Then it no longer is metadata for the whole document (like it would be the case for usual link elements in the head), but a "hidden" element for Microdata.
Nov 13, 2013 at 20:16 comment added Edward Touw Thanks! So if I understand correctly, I'm allowed to use the <link> tag in the body as long as it contains an itemprop attribute? And as long as the itemprop attribute is included, I can also include href as used in my original question?
Nov 13, 2013 at 17:03 history edited unor CC BY-SA 3.0
added 280 characters in body
Nov 13, 2013 at 16:57 history answered unor CC BY-SA 3.0