<header> element – represents content that forms the header of a section.
Usage: there may be multiple headers on a page (typically within a section).
Permitted Content: style elements and flow content. The <header> element must not be a descendant of the <address>, <footer>, or <header> elements.
Tag omission: both start and end tag must be present.
<h2>Yes, this is WordPress</h2>
<h3>Posted on <time datetime=”2010-07-14″ pubdate>July 14, 2010</time> by Mark DuBois</h3>
Example page (opens in a new tab/ window – view source code):
- http://learning-html5.info/examples/BasicWeblogText.html (note: this page has no CSS styling, it is simply intended to show the overall structure of the HTML5 page).
Default display properties: display: block.
Common Attributes: typical global attributes only.
Permitted Parent Elements: any element which can contain flow elements.