Forum Moderators: open
Run the code through [validator.w3.org...] but make sure you tick the boxes for "Show Source" and "Verbose Output", but especially tick the box for "Show Outline" as well.
On the results page, scroll down through the error list (if there is one) and look for the section marked "Document Outline". If the list there does not look like a summary of your document then you are abusing the tag.
Suppose you put a single <h1>Site Title</h1> tag at the bottom of a page, like as a closing title. Is that bad in some way?
My personal opinion? Yes, having an <h1> sitting at the bottom of a page is bad design. We've had many topics surrounding the use of <h> tags. If an <h> tag is not followed by some logical copy, then it is pretty much useless in my opinion. It is a heading! Headings are normally followed by content. Slapping <h> tags into your copy in no logical order or sense of things is not good design practice.
Please, read what the W3C have to say about the use of headings. You'll find that all the questions that have popped up in this thread can easily be answered by following the specifications for their use. Trying to use them in a way to increase relevancy on a page without understanding how they should be used is defeating their purpose.
As a side note, using CSS to style your <h> tags is recommended. Using CSS to style them in ways that is against the specification is not recommended and may cause problems. For example, stuffing keywords into an <h> tag at the bottom of the page with a very small font size may cause problems. Not from an automated perspective, but from a manual review perspective.
But! What if Google or other SEs start to parse CSS files and can filter for unusual styling of <h> tags? Then the automated perspective comes into play. Googlebot has pulled CSS files in the past and will probably do so again in the near future.
Don't use CSS to hide or try and fool the indexing spiders!
- The hn tags help. They have decreasing order of importance (H1 is the best).
- Do remember that keyword density in Hn tags is what matters. So if you put the whole page in H1 tag, it becomes as good as normal.
- It is not necessary to duplicate the title in the H1 tag (element?) The title shows on the SERP, so make it keyword rich and also so attractive that the searcher will click on it in preference to the others. Make the heading so attractive that the viewer feels like reading more of the page.
- Make both title and heading the smallest possible but include the keyword. The best choice will be just the keyword (or phrase) but does it look very attractive?
- It is OK to reduce the visible size of the H1 tag by using the FONT declaration or CSS. You will definitely need to do it because the default display size of H1 tag is too large.
- You should liberally use H2 to H6 tags with secondary keywords of the page in them. It helps your ranking, more so it helps the visitor to skim through the page.
peewhy, I will be using just one h1 tag on every page, using an external css file to alter the size to about that of a normal h2 tag. Do you see any problems with that?
I don't see any problem, equally I don't see a great SEO advantage ... I may be wrong:)
I assume the titles are different on each page and the H1 and title are the same?
what is the diffenece between having a css which
says
.heading_1
{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12pt;
font-style: normal;
color: Black;
}
or
.H1
}
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12pt;
font-style: normal;
color: Black;
}
Dave
Can't you easily prevent that by just dissallowing that CSS file in the robots.txt?
Can't you easily prevent that by just dissallowing that CSS file in the robots.txt?
Yup! Just as you can stop Google from caching your pages. In both instances, it may raise a flag for manual review.
I used to Disallow my /css/ directory up until about 3 months ago. I saw too many discussions arising suggesting that you not Disallow CSS. So, I'm going to follow the advice I deem relevant from members here at the board and not do anything that may cause a flag (radar blip) on any automated filtering.