Bad for SEO? (span tag within header tag)

  • Shadows
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 03, 2006
  • Posts: 64
  • Status: Offline

Post May 10th, 2008, 4:43 am

Hi,

I have a question and since I don't know the answer it bothers me. I understand the importance of SEO in terms of ranking etc.

My question is while header tags (h1 ... h6) are important and should be used to illustrate important key words and terms, does inserting a <span> tag inside that header tag affect its effectiveness?

for example

Code: [ Select ]
<h1>
<span class="boardit">Portfolio</span>
</h1>
  1. <h1>
  2. <span class="boardit">Portfolio</span>
  3. </h1>
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 10th, 2008, 4:43 am

  • Fabinator
  • Proficient
  • Proficient
  • No Avatar
  • Joined: May 05, 2007
  • Posts: 467
  • Status: Offline

Post May 10th, 2008, 5:40 am

I'm don't think it effects your SEO... but I'm not 100%

But why do you have the extra span there?
You could also give a class name to the h1-element:
Code: [ Select ]
<h1 class="boardit">Portfolio</h1>
  • Shadows
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 03, 2006
  • Posts: 64
  • Status: Offline

Post May 10th, 2008, 7:55 am

I never considered applying a class to a header, the reason I include a span inside a header tag is so I can apply an underline to the text where as should the header have a "border-bottom" applied, it repeats the bottom border across the full width.
  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Joined: May 29, 2005
  • Posts: 1417
  • Loc: 55° N, 3° W
  • Status: Offline

Post May 10th, 2008, 4:01 pm

What about:

h1 {text-decoration: underline}
  • karmadir
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Mar 08, 2008
  • Posts: 103
  • Loc: India
  • Status: Offline

Post May 11th, 2008, 11:31 am

No It do not give any problem.

If your heading color is as same as background color,then it can be a problem and is considered black hat seo.
  • saxena
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jun 19, 2006
  • Posts: 38
  • Loc: India
  • Status: Offline

Post May 12th, 2008, 3:20 am

H1 is the most important, and widely exploited header tag. Several spammy sites have exploited H1 tag to such a great extent, that google becomes cautious, when it encounters one.

If you are using H1 make sure not to stuff to many keywords, and you should abstain from using any <SPAN>, which could get mistaken as <SPAM> ;).

Try using external style sheet to control H1 tag, instead of using a <SPAN> or any other within <h1> tag

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 17 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.