|
Posted by David Woods on 08/07/06 21:18
I appreciate the many discussions about marking up a page semantically. I
don't mean to rehash old arguments/discussions, but I am a little confused
as to the proper way to handle headers.
In the web pages I have created I typically put a div stretching across the
screen in which I put a logo, the title of the organization, and possibly
other pictures, slogans, etc. In the main content div, I typically will put
a unique header for that page followed by paragraphs, etc.
What should be marked up as <h1></h1>? The title of the organization in the
header/banner div? Or, the first header in the main content div?
Which of the following examples should I use? Or can you provide a more
proper example?
1)
<div id="header">
<img ...>
<h1>Title of the organization</h1>
</div>
<div id="content>
<h2>Title of this page</h2>
<p>...</p>
</div>
2)
<div id="header">
<img ...>
<p>Title of the organization</p>
</div>
<div id="content>
<h1>Title of this page</h1>
<p>...</p>
</div>
Thanks,
--
David
Navigation:
[Reply to this message]
|