This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17429 - is the "name" attribute valid on <meta> element in <body> context? Validator says no at the moment, but this document doesn't preclude the possibility.
Summary: is the "name" attribute valid on <meta> element in <body> context? Validator ...
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-06 15:33 UTC by contributor
Modified: 2012-07-18 18:39 UTC (History)
1 user (show)

See Also:


Attachments

Description contributor 2012-06-06 15:33:13 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#the-meta-element
Complete: http://www.whatwg.org/c#the-meta-element

Comment:
is the "name" attribute valid on <meta> element in <body> context? Validator
says no at the moment, but this document doesn't preclude the possibility. 

Posted from: 89.255.128.66
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.53 Safari/536.5
Comment 1 Michael[tm] Smith 2012-06-07 08:00:34 UTC
If you're looking just at the W3C HTML spec itself only, that does actually preclude the possibility of the meta element being using in the body atl, because it classifies meta strictly as metadata content, which is only allowed within the head element.

But the Microdata spec says that if a meta element has an itemprop attribute, that makes it flow content and phrasing content, which allows it to be used in the body. But it also adds the restriction that If a meta element has an itemprop attribute, the name, http-equiv, and charset attributes must be omitted.

http://dev.w3.org/html5/md/#other-changes-to-html5

So that means meta@name is never allowed in the body.