View Full Version : Will this H1 code work?
ajitky
10-06-2003, 10:55/10:55AM
Hello All,
I am new to SEO & this forum has been a useful for me ever since I have joined it. I have a question about H1 tag...
<h1 id="red_color">Main Category : <a href="link to sub-category">Sub Category</a> : Product-Keyword Phrase</h1>
How effective will above H1 code be for keyword phrase used inside it?
Thanks,
Ajit
g1smd
10-06-2003, 14:41/02:41PM
Heading tags are supposed to be used just for Headings, so I don't think that it is valid to use them to style a link to another page. Headings are simply a line of text above a block of page content.
Additionally, your idea about using class or id is flawed. You have an id="red_color" which I assume you are going to use CSS to colour it in red. If you change your mind and want that as green text instead, then you'll still have the word red in the ID, unless you go through and change them all. Changing them all simply wastes time, and negates the whole purpose of using IDs in the first place. The ID should say what is does not how it looks, so id="header" or id="important" and so on. If you are thinking of using the id more than once then you should really be using class instead, anyway.
ajitky
11-06-2003, 02:27/02:27AM
Hello,
Thanks for your reply, The code is not just for linking purpose, it will act as a heading on top of product page(below company logo), and by providing a link to sub-category pg. I am just trying to save users click for sub-category page.
I am using separate CSS file here, which has "id=red_color" which is actually defined as "id=fh" (my synonym for font header type), so changing colors wont be a problem as such.
My real concern is about the keyword that is present at the end of code, will it be really effective this way?
Thanks again :)
Ajit
vBulletin® v3.8.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.