[whatwg] ambiguity in <header> definition

Bruce Lawson brucel at opera.com
Mon Jun 29 06:35:18 PDT 2009


spec says "A header element typically contains the section's heading (an  
h1–h6 element or an hgroup element), but can also contain other content"

I read this as other meaning "different"  - e.g., header doesn't need to  
contain an h1–h6 element or an hgroup element. Others I know read "other"  
here as meaning "additional" , eg that it should have  an h1–h6 element or  
an hgroup element but *may* have nav etc.

I believe that the phrase "Contexts in which this element may be used:  
Where flow content is expected" means I win the beer and the curry, but  
perhaps the language should be tightened? ie ""A header element typically  
contains the section's heading (an h1–h6 element or an hgroup element),  
but this is not mandatory and may contain content such as navigation, a  
search form blah blah"




-- 
Hang loose and stay groovy,

Bruce Lawson
Web Evangelist
www.opera.com (work)
www.brucelawson.co.uk (personal)



More information about the whatwg mailing list