Forum Moderators: phranque

Message Too Old, No Replies

What does 'good header tags' mean?

         

Tomness

11:40 pm on Jun 28, 2005 (gmt 0)

10+ Year Member



I read in another post that one of the keys to a sucsessful website is to have good header tags.

How is that meant?

ckarg

10:20 am on Jun 29, 2005 (gmt 0)

10+ Year Member



Its down to first principles: relevant content.

A 'good' site will be useful, e.g. as a source of information on a particular topic. Search engines try to display search results relevant to the search phrase. While there is no 'silver bullet', there are some basic things you can do to make your site more relevant (to both visitors and search engines).

The headers you'll want to investigate more closely are the <content> and <keywords> headers. Having the information in these match the content of the rest of the page is better than not having these headers, or stuffing irrelevant content into them.

Tomness

1:30 pm on Jun 29, 2005 (gmt 0)

10+ Year Member



Oh right. Things like page names so if you had a page about telephones, you would add that to the list.

How about variations, for example.

Letter, letters, door, doors.

physics

7:31 pm on Jun 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Tomness. I think what they were talking about was the header tags <h1>,<h2>,<h3> ...
So for example for a page about cars the body might have the following in it

<h1>Cars</h1>
Text about cars...
<h2>Ford</h2>
Text about ford cars...
<h3>Taurus</h3>
Text about ford taurus...

The idea is that by placing the text into a header tag you let the search engine algos know that the words in there are important to your page because these are presumably section headings. This is a part of basic 'on page' SEO...

prairiedweller

3:57 am on Jun 30, 2005 (gmt 0)

10+ Year Member



On this subject...how many header tags do you tend to use? I have only ever used <h1> on every page but have not gone higher in number.
Is there a point where the se's yawn at the tags? I seem to remember a couple yrs back reading about this being an issue.

Tomness

9:51 am on Jun 30, 2005 (gmt 0)

10+ Year Member



Oh right, thank you. I think I used headers appropriatly. =)

rocknbil

4:11 pm on Jun 30, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Mmmmm . . . document headers and headings are two different things. <h1>,<h2>. . . are headings.

Headings reflect the document structure much in the same way you'd do an outline. These are just good document structure and does affect search engines and how they digest content. If you have one tpic per page - <h1>my topic</h1> <p> content </p> is fine. The <h2>... etc. are good if the topic has subsections.

Headers, on the other hand, are the introductory tags in a document that include (but are not limited to) the DOCTYPE and other non-visible content (except for the title tag) between the <head> and </head> of the document. These provide data to both the spiders and the browser:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

.....

<head>
<title>Yes, search engines read this for sure!</title>
<meta name="description" content="This is a unique description of what is on this page.">
<meta name="keywords" content="use,of,this,meta,tag,is,one,of,great,debate">
</head>

There are more. It's greatly believed that because the meta tags were so abused in the early days they are now ignored (100 instances of a single word would pump the site higher in results.)

But I'm not so sure. I have recently encountered a site or two that is all graphics - almost no text on the page -
but the description found in Google was a word for word match of the hidden description meta tag.

Rule of thumb: use them but make sure the words in your keyword list are actually in the page. Disproportionate use of words in the keyword list versus what's on the page may affect ranking.

If anything will help, it's UNIQUENESS of these tags. Don't use the same title and meta tags on all pages. Make each of them unique and truly descriptive of what's on the page.

Or don't use them at all. :-) I've also seen sites that are doing very well and rely only on good content. If you have good content, you don't need meta tags.

topr8

4:26 pm on Jun 30, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



you mean good <head> tags

as rocknbil suggested headers are something else altogether and generally set by the server they include status codes, date last modified and so on.

physics

4:29 pm on Jun 30, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



rocknbill, I guess you're right that <h1> is not a header tag but I'm not sure about the other stuff you said. On w3.org the <h1> ... are indeed called heading tags (not header) but people often mix this up (me included apparently, also when I search for heading tags in a search engine the first results are all talking about <h1> ).

However, as far as I know, the header is actually something that isn't even on the HTML page and isn't at tag ... i.e. if you write a perl script you have to add the line

print "Content-type: text/html\n\n";

Before you can print any output to the browser.
HTTP Header Field Definitions [w3.org]

The DTD line isn't a header, it's the document type declaration.

The title, etc are head elements.

Errr... for a clearer summary see:
The Global Structure of an HTML Document (w3.org) [w3.org]
Outline:
1. Introduction to the structure of an HTML document
2. HTML version information
3. The HTML element
4. The document head
1. The HEAD element
2. The TITLE element
3. The title attribute
4. Meta data
* Specifying meta data
* The META element
* Meta data profiles
5. The document body
1. The BODY element
2. Element identifiers: the id and class attributes
3. Block-level and inline elements
4. Grouping elements: the DIV and SPAN elements
5. Headings: The H1, H2, H3, H4, H5, H6 elements
6. The ADDRESS element

In any case the DTD, the document head, the header, and the heading tags are all important for SEO and for users imo :)

rocknbil

8:12 pm on Jun 30, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well when you put "header" together with "successful website" the only thing that makes sense is "<head>." :-)

HTTP headers are something else entirely, I decided not to confuse the situation further by bringing them up, especially since most of those are out of the control of the designer or SEO person.

physics

11:12 pm on Jun 30, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



righto rockinbill. But I included the link to the w3.org info about headers anyway for completeness ;) And believe it or not there are some programmers in here :p