View Full Version : Tables and <H> tags
JuniorHarris
22-08-2001, 10:53/10:53AM
Tables and <H> tags used to cause me considerable grief in the fact that every time I would use a <H> tag within a table, I would always get an extra blank line below the table element. However, I learned that if the closing </H> tag is placed outside the closing table </TD> tag the problem disappears:
old format:
<td><h1>Heading Text</h1></td> - produces extra blank line
new format:
<td><h1>Heading Text</td></h1> - suppresses extra blank line
This solution seems to work fine in both IE (5.5) and Netscape (4.75).
ihelpyou
22-08-2001, 10:55/10:55AM
Great tip JuniorHarris! :up:
MazY
22-08-2001, 10:59/10:59AM
Always wondered how to get rid of that annoying thing. Call myself a web designer... :D
Thanx JH
JuniorHarris
22-08-2001, 11:10/11:10AM
:D
ihelpyou
22-08-2001, 11:13/11:13AM
Hey all you good web designers and programmers out there, I bet you hold a NUMBER of good tips in your heads. Cough them up in this forum please.
Yes. That includes you JH and Maz.
MsSearch
22-08-2001, 14:31/02:31PM
Great tip!! :up:
quick question....I know spiders see the text in <H> tags as more important words/keywords....but what about <th> tags? Does the text in table header tags get seen by the spiders as having the same emphasis as text within an <h> tag? Do spiders see text within <th> tags as being emphasised at all or as more relevant than the regular content on the page?
or should I stick to <H> and forget the <th> tags?
Always wondered this....
ihelpyou
22-08-2001, 14:40/02:40PM
Not too sure MsSearch. I would stick to the <h> cause we know that does.
JuniorHarris
22-08-2001, 15:45/03:45PM
That is a tough question to answer, and probably an even tougher one to code!~ An engine would have to specifically search to include the <th> which may only appear in tables, whereas <h> tags are used throughout the document (whether in a table or not).
Sharon & Roy
22-08-2001, 20:39/08:39PM
quick question....I know spiders see the text in <H> tags as more important words/keywords....but what about <th> tags?
Hello MsSearch,
We can only speak for Google on this one. According to Google, placing your keywords in the "Table Header Cell" <TH> will give your page "higher ranking consideration".
Does the text in table header tags get seen by the spiders as having the same emphasis as text within an <h> tag?
Now, while Google does not give specifics as to "how much" higher ranking consideration they give to keywords inside a "Bold Text Tag" <b></b> or <strong></strong> and a "Heading Tag" <H1></H1> and a "Table Header Cell Tag" <TH></TH> they "DO" give them all higher ranking consideration.
Deductive and intuitive reasoning tells us that a "Table Header Tag" <TH></TH> DOES NOT have the "same emphasis" as a "Heading Tag" <H1></H1>
Do spiders see text within <th> tags as being emphasised at all or as more relevant than the regular content on the page?
YES
or should I stick to <H> and forget the <th> tags?
No need to forget the <th> tags, unless you agree with us that it may not have the "same emphasis" as a <H1> tag and that is why you asked your question in the first place.
For those of you not familiar with how to code the <TH> tag just view our ...
---
Example of the ...
Table Header Cell <TH> in a Table Header <THEAD> and a Table Footer <TFOOT>
http://www.iwon.net/articles/seo/example-th-tag.shtml
---
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.