Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>A good place to start is Bruce Lawson's <a href="http://www.brucelawson.co.uk/2012/scooby-doo-content-element/" rel="nofollow">Scooby Doo and the proposed HTML5 <code>&lt;content&gt;</code> element </a>.</p> <p>You'll find a link in there to the <a href="http://lists.w3.org/Archives/Public/public-whatwg-archive/2012Aug/0298.html" rel="nofollow">opinion of Ian (Hixie) Hickson</a> who is the editor of the WHATWG version of HTML5 (aka HTML Living Standard) and until recently editor of the W3C version of the HTML5 standard.</p> <p>What he says (and has consistently said for at least the last 5 years) is that there is no need for a sectioning element there. If you need a containing element for everything that is not in the header or footer <code>&lt;div&gt;</code> is the element to use.</p> <p>On the other hand, another member of the W3C HTML working group, Steve Faulkner, has proposed the <a href="http://www.html5accessibility.com/tests/maincontent.html" rel="nofollow"><code>&lt;maincontent&gt;</code></a> element for your use case, on the grounds that is allows the ARIA "main" role to be incorporated into native HTML.</p> <p>FWIW, for me, it seems odd that you should have a special element for between the header and footer in <code>&lt;body&gt;</code> but not for between header and footer in <code>&lt;section&gt;</code> or <code>&lt;article&gt;</code> so I'm with Hixie on this. </p> <p>I also don't buy <a href="http://www.brucelawson.co.uk/2012/scooby-doo-content-element/#comment-1017996" rel="nofollow">Steve's comments</a> that it will be useful in that it will mark the main content even if the other sectioning and header/footer elements are not marked up correctly, since there doesn't seem any case in which I could advocate its use. It seems to be only for the web author who wants to do a half-assed job.</p> <p>Do note that if <code>&lt;maincontent&gt;</code> does get accepted, it will not be part of HTML5. The earliest it could appear would be HTML 5.1</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload