Is there any difference between <h1>keyword</h1> & <h1 class="">keyword</h1> Cause I used a script which checked everything on the page for the particular keyword, when i used the later, it didnt show me that i have the keyword in my header. I am worried that even if i use my keyword in the <h1 class="">keyword</h1>, it wont get the same weightage, or am I wrong? Thanx Apologies-- I didnt mean to add the stars it just happened, stupid me
I'd say it would carry the same weight but if you want to be sure you can define the look of the H1 tag in a style sheet
the look of h1 is defined in stylesheet by <h1 class= , thats where everything is gettin messed up. the look n feel changes for both of them, h1 mite get me juice whereas h1 class will get me the same look n feel. and the issue only lies with mozilla.
My personal experience is that it's easier for me to put the style on an H1 in the stylesheets. If I have a need for an additional H1 style, I'll either use H2's or other header tags... or just drop a style attribute in the H1 to override the particular style I want overloaded. I'm just not used to dropping a class in an h1 tag. I also like to keep the HTML smaller (even 10 bytes at a time )