[HTML] Header 1 (<h1>)...display:none

Soldato
Joined
12 Jun 2005
Posts
5,361
From an SEO point-of-view, you should have the <h1> tag in there for the title at the very top of the body.

Basically, I can't remember, is it "ok" to have the styling as "Display:none" for the <h1> tag if you don't want to show it to the user....it doesn't do anything bad for SEO does it?

I only ask as I used to do that? But then I changed to "text-index:-2000px" styling for some reason, but I was wondering peoples opinions...

...or am I looking at the situation too deeply...and it doesn't really matter?

Thanks.
 
From an SEO point of view it doesn't matter, since crawlers ignore CSS.

Well google tells me different (from searching - not actual google)...

...according to what is posted on peoples blogs anyways...

...I was just looking for the general consensus.
 
Last edited:
Well I am using it to simply utilise the <h1> tags but without the image showing and insuring that its the first thing in the page...

...from a pure SEO point-of-view.

I mean I could have the <h1> tag in one of the containing DIVS, but then it wouldn't be the first thing in the body, and I was always taught that, that was the way to do it.

See my implementation in my very draft site here: http://www.benbarron.com/new/ (the actual XHTML isn't even final for whats currently on the page - I know there are things that should be changed)
 
Back
Top Bottom