[whatwg] Proposed simplification to Microdata

Rob Crowther robertc at boogdesign.com
Sun May 29 12:36:36 PDT 2011


On 29/05/11 20:20, Guha wrote:
> Thank you.
>
> Can you point me at the portion of the HTML 5 spec that allows link and meta
> to be used
> in the body?
>
It says it where the link and meta elements are defined:

http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-link-element

"Contexts in which this element can be used:
     Where metadata content is expected.
     In a noscript element that is a child of a head element.
     If the itemprop attribute is present: where phrasing content is 
expected."

http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-meta-element

"Contexts in which this element can be used:
     If the charset attribute is present, or if the element's http-equiv 
attribute is in the Encoding declaration state: in a head element.
     If the http-equiv attribute is present but not in the Encoding 
declaration state: in a head element.
     If the http-equiv attribute is present but not in the Encoding 
declaration state: in a noscript element that is a child of a head element.
     If the name attribute is present: where metadata content is expected.
     If the itemprop attribute is present: where metadata content is 
expected.
     If the itemprop attribute is present: where phrasing content is 
expected."

Phrasing content is "the text of the document":

http://www.whatwg.org/specs/web-apps/current-work/multipage/content-models.html#phrasing-content

Rob



More information about the whatwg mailing list