Forum Moderators: not2easy

Message Too Old, No Replies

css and seo

<h1> same as <span class="h1"> for seo?

         

helohelo

9:31 am on Sep 20, 2004 (gmt 0)

10+ Year Member



I have a question regarding Searche engine optimization (seo) and css
I now
<h1>titel 1</h1>
is good for seo: se see h1 tag as importent text.
is
<span class="h1">titel 1</span>
also 'seen' by the search engiens as a h1 title?
and:
<div class="H1">titel 1</div>?

pmkpmk

9:33 am on Sep 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Why don't you just redefine the <H1> tag in your stylesheet?

bull

9:35 am on Sep 20, 2004 (gmt 0)

10+ Year Member



<span class="h1">titel 1</span>
also 'seen' by the search engiens as a h1 title?

No. It is seen as a span only. I agree with pmkpmk.

submitx

9:54 am on Sep 20, 2004 (gmt 0)

10+ Year Member



Actually, what about this

<h1 class="whatever">TEXT</h1>

Do search engine's see this as an <h1> tag?

pmkpmk

10:01 am on Sep 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I would think so.

However you would not need it and it would make the whole code smaller if you simply overrule the initial <H1> tag.

You'd only need the <H1 class=...> construction if you intend to change the style of the <H1> ever so often. Wich I would advise against due to consistency.

bull

10:22 pm on Sep 20, 2004 (gmt 0)

helohelo

5:18 pm on Sep 26, 2004 (gmt 0)

10+ Year Member



Dreamweaver made <span class="h1">titel 1</span>
from it...

so how to change it to <h1>titel 1</h1>

I mean the <span class> is for something or isnt it?

createErrorMsg

7:30 pm on Sep 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Anytime you can override DWs tagsoup and use some decent, clear handcoding instead, you should. DW looks great in it's design mode, but it's a spaghetti pot of tangled and deprecated, or at best not-optimal, html properties underneath.

encyclo

9:51 pm on Sep 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The class name is irrelevant, and it won't have any effect whatsoever for the search engine bot, which almost certainly ignores it completely. So, naming a class "h1" doesn't make it the same as the
<h1>
element.

So what you're left with is the

<span>
element, which has no semantic meaning at all and is not even a block element, so the bot won't make any distinction between the text enclosed within it and any surrounding text.

You might want to download and install a copy of the Lynx browser [lynx.isc.org] to get a better impression of what a spider "sees".

helohelo

9:46 am on Sep 29, 2004 (gmt 0)

10+ Year Member



Thank to you all for your comment:
I changed my stylesheet from .h1 to h1 to make the normal <h1> tag in place of the < h1 class>

( in dremaweaver its teh difference of adjusting an excisiting style ( h1) or making a new style class ( .h1)

(Yust discovered this after using dreamweaver for more then 5 years) ;-)

jetboy_70

10:18 am on Sep 29, 2004 (gmt 0)

10+ Year Member



discovered this after using dreamweaver for more then 5 years

No shame in that. You need to be discovering new things constantly to stay current in this business. When you feel you have nothing left to learn it's time to walk away.