Forum Moderators: open

Message Too Old, No Replies

h5 tags without h1 tags

Is this ok

         

Timetraveler

6:45 pm on Jul 6, 2006 (gmt 0)

10+ Year Member



I wanted to include some header tags for Yahoo optimization but they are just way too big and ugly to fit on my pages.

The h5 tags arent too bad in size. Is it ok or benefitial to add h5 tags without the presence of h1-h4 tags? Or is it bad to add an h5 tag without h1,h2,h3 etc.

TY

ltcobretti

6:14 pm on Jul 9, 2006 (gmt 0)

10+ Year Member



Change the styles of your tags, learn the html style command or css.

jambad

2:50 pm on Jul 10, 2006 (gmt 0)

10+ Year Member



Agreed. The specific font size can be controlled (along with all other attributes) using css. I would always make sure to use an H1-H5 tag on each webpage with your main keywords included.

Timetraveler

3:33 am on Jul 11, 2006 (gmt 0)

10+ Year Member



So would something like this be ok?

<h1><small>My header title</small></h1>

I use a content management system and for some reason the title keeps showing up as large font instead of small but at least its a little smaller than the default h1 size.

Having that small tag is ok for seo? Is there any way to get it smaller?

TY

Chris_H

10:10 am on Jul 11, 2006 (gmt 0)

10+ Year Member



You can use inline styles to control font attributes in your Heading tags, for example:

<h1 style="font-size:14px;font-family:verdana;color:red">Hello World!</h1>

Better still, create an external CSS file and reference it, for example:

<h1>Hello World</h1>

Put the following in a file called style.css:

H1 {font-size:14px;font-family:verdana;color:red}

Then, put the following in your <head> tags:

<link rel="stylesheet" href="style.css" type="text/css">

Voila! You can now control your tag styles. You would be wise to brush up on your CSS skills too, I recommend using W3Schools to learn the basics.

Timetraveler

3:23 am on Jul 12, 2006 (gmt 0)

10+ Year Member



Awesome. That makes a huuuuuge difference. I always wanted to optimize my pages with h1 tags but didn't because of the look. Thank you.