Forum Moderators: open

Message Too Old, No Replies

using inline css style w. <h1> tag

         

Suka

1:13 am on Jan 14, 2004 (gmt 0)

10+ Year Member



Hi,

I am developing a page for our site along with a colleague and we are trying to follow SEO techniques as best as possible. We need to keep this in the framework of our standard navigation.

There's a space on the page where we are including some content that I'd like to tag w. an H1 style, but it really doesn't fit the area. Is it considered "bad" seo to change an H1 tag by utilizing an inline style? I already have an H1 style controlling the appearance for the main part of the page, but this area is one of the first sections that will be read by the search engines, so I really want it in an H1 tag.

All suggestions/feedback would be most appreciated!

tedster

1:29 am on Jan 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Enclose that area of the page in its own div with an ID, say #info. Then in your stylesheet create a new rule:
#info h1{place your rules here}

That way you don't have to play with inline styles. The syntax means "apply these rules to any h1 element that appears INSIDE (as a child of) the div with id="info"

Since you chose to post this in Research Topics, I would also like to remark that the old H1, she ain't what she used to be according to my research. It was too simple a target, I guess, and as word got out many goofy H1 tags appeared on pages -- sometimes wrapping the whole page in nested H1 tags!

The net result is that search engines cannot depend on H1 content to be a good, automatic indicator of relevance these days. And so the boost that H1 text received in the past has been minimized, according to the sites I analyze. Not that you shouldn't use H1. It's good practice and correct document structure. It's just no magic bullet anymore.