3 replies [Last post]
gleddy
gleddy's picture
Offline
Leader
sydney, australia
Last seen: 12 years 30 weeks ago
sydney, australia
Timezone: GMT+10
Joined: 2004-09-21
Posts: 596
Points: 0

heya,

I am pretty sure I know the answer to this one but looking for a couple of head nods from this forum.

I work for a large news site and am thinking about using headers semantically and also with SEO in mind.

So I was going to use the logo for the <h1> with image replacement and then go down from there... ex. main story <h2>, second main story <h3>, etc.

this the best way to go???

or should I say make the lead story <h1>? was just thinking that the <h1> would never change if it was the logo and wondering if that would effect SE results in any way. How does everyone else approach this?

cheers!

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 4 hours 26 min ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9774
Points: 3856

&lt;h1&gt; usage.

Using headers semantically goes right along with how you organize your page. If you think of the site as-a-whole as a book, then each page could be thought of as a chapter. The chapter has an element that names it, <h1>. Perhaps only the home page should have the logo as an <h1>. Otherwise there should be a header text that names the page.

The chapter has sections such as the main content, and links, and maybe news items. These main sections get an <h2>.

Each section can be broken down into sub-sections such as each story or even story groups like sad stories and happy stories. These get an <h3>. Then the stories would get an <h4>.

As you can see, this is just like creating an outline or nested list describing the page. Think term paper for English Lit.

This really about html and making it structured and semantic. Perhaps it should be moved to 'off-topic'

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

gleddy
gleddy's picture
Offline
Leader
sydney, australia
Last seen: 12 years 30 weeks ago
sydney, australia
Timezone: GMT+10
Joined: 2004-09-21
Posts: 596
Points: 0

&lt;h1&gt; usage.

cool analogy....

you could reason then that the 'whole book' is summed up in the <title> tags and meta-data all up... and then the chapter (which in my case is the first important story) would be the <h1>.

cheers Laughing out loud

euio
Offline
Enthusiast
Last seen: 15 years 39 weeks ago
Timezone: GMT+8
Joined: 2005-03-03
Posts: 71
Points: 0

&lt;h1&gt; usage.

a book is always the best analogy around for a webpage structure... it's been used thousand of times already by gurus...