Forum Moderators: open

Message Too Old, No Replies

More than one heading tag?

Can I have more than one heading tag

         

PumpkinHead

3:23 pm on May 27, 2005 (gmt 0)

10+ Year Member



Hi all, Hope this is the right section to ask this. I'm building my first proper site (which is taking bloody ages) and I'm starting to think about how I will use the heading tags.

My site has many lists and I'd like to make each list as SEO friendly as possible.

If I were to have a heading tag around each and every row within a list, e.g

<h5>black widgets</h5>
<h5>white widgets</h5>
<h5>red widgets</h5>

Would only the first be recognised as a heading? If not, could I just create as many headings as I needed?

E.g

<h5>black widgets</h5>
<h6>white widgets</h6>
.....
<h240>red widgets</h240>

I'm creating this list from a database using php so it shouldn't be too hard either way.

Sorry if this is a dumb question, I only know about H1 to H6.

Thanks in advance

PH

trillianjedi

3:27 pm on May 27, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



H1 to H6

From momory I don't think there are any others that are a standard recognised by browsers.

Each nested heading should have the next number in series.

So:-

<h1>A site about widgets</h1>

<h2>Red widgets</h2>

Some text about red widgets

<h3>Shiny Red Widgets</h3>

I love shiny red widgets

<h2>Blue widgets</h2>

Blue widgets are not so popular these days.

<h2>Green Widgets</h2>

etc

TJ

PumpkinHead

3:40 pm on May 27, 2005 (gmt 0)

10+ Year Member



Hi,

Thanks for speedy reply! I'm a little confused now..heh

My list would have (for example)

<h1>Site name</h1>
<h2>List name</h2>
<h3>white widgets</h3>
<h3>red widgets</h3>
<h3>blue widgets</h3>
<h3>pink widgets</h3>
End of list and headings

From what I understand, this is allowed?

Cheers

PH

trillianjedi

3:44 pm on May 27, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



this is allowed?

Yes. It's also the "correct" way to markup an html document.

See : [w3.org...]

... for more info on heading tags.

TJ

abbeyvet

4:14 pm on May 27, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes. It's also the "correct" way to markup an html document.

I don't think so if I am understanding PumpkinHead correctly.

What you are looking at doing is this, right?

<ul>
<li><h5>Item one</h5></li>
<li><h5>Item two</h5></li>
<li><h5>Item three</h5></li>
<li><h5>Item four</h5></li>
etc
</ul>

Or else just replacing the list altogether with <h5> tags

If so then it is not the "correct" way to do it, but I have no clue what its effect would be from an SEO viewpoint.

PumpkinHead

6:07 pm on May 27, 2005 (gmt 0)

10+ Year Member



Hi,

I'm not using the <li> tags, just the heading tags.