En liten notis bara: ett dokument bör egentligen bara ha en H1, och den ska vara ungefär samma som TITLE. Tex:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<title>Korv med mos</title>
<div id="main">
<h1>Korv med mos</h1>
<p>Test.
</div>
<div id="menu">
<h2>Meny</h2>
<ul>
<li>osv.
</ul>
</div>
Det finns, om man skall vara riktigt noga, inget i någon av rekomendationerna (dvs "standard") för HTML4 eller xhtml 1.0 som reglerar många H1-taggar man "får" eller "bör" använda i ett dokument...
Det enda som skrivs om detta, förutom att
There are six levels of headings in HTML with H1 as the most important and H6 as the least.
är i princip den informativa texten
Some people consider skipping heading levels to be bad practice. They accept H1 H2 H1 while they do not accept H1 H3 H1 since the heading level H2 is skipped.
All pages should included the H1 header around the piece of text that is the primary page heading. Strictly speaking there should only be one heading coded with H1 on a page.