The Truth About Multiple H1 Tags in the HTML5 Era

Truth About Multiple H1 Tags in the HTML5 Era

Yes, it’s true. You can now use as many sets of tags as are required, via HTML5. But that doesn’t mean they should be freely added in arbitrary locations. Just as there were rules of tag usage that came from old document outlines, so too are there now new rules based on the HTML5 document outlining algorithm.

Here they are at a glance:

1. Use one set of tags per sectioning root or content section.
2. There should always be a level heading between the opening tag and the first content section, to label the overall document.
3. When a level heading is to be used to label a content section, it should be the first heading that appears in the section, because the first heading is always interpreted as the section’s label.
4. If a level heading is used to label a content section, any other headings used in that section should be H2 or lower in order to create an accurate document outline. (see article to discover HOW -TO)

via Delicious http://ift.tt/Ohejyg

Advertisements