Forum Moderators: phranque

Message Too Old, No Replies

h1 and h2 tags

         

MBS Auto Parts

6:56 am on Apr 9, 2005 (gmt 0)



Could anyone clear this up form me about the h2 and h2 tags! I am confused, some say I will be penalized and other say DUDE, where are your h1 and h2 tags...

a littl help ova here!

By the way I am a Newbie be gentile

saoi_jp

7:05 am on Apr 9, 2005 (gmt 0)

10+ Year Member



The "h" means "header". So for example, for the main topic (or title) of the page, you'd put that between <h1>your main header tags</h1>. The <h2>second level header</h2> can be used for the page's section titles.

peewhy

7:23 am on Apr 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you use your <h1> tag as a headline across the top of your page with some text and then <h2>, that's fine. Ensure the same words in <h1> are in your <title>.

Just don't over do the <h1> and <h2>

MBS Auto Parts

7:26 am on Apr 9, 2005 (gmt 0)



<META NAME="Generator" CONTENT="<snip>">
<TITLE><snip></TITLE>
<META name=description content="<snip>">
<META name=keywords content="<snip>">
<META NAME="Classification" content="<snip>">
<META name="copyright" content="<snip>">
<META name="author" content="Mercedes <snip>">.
<h1>Widgets 1</h1>
<h2>Widgets 2</h2>

Do I have that Right?

<snip>

[edited by: trillianjedi at 4:24 pm (utc) on Aug. 22, 2005]
[edit reason] Please see TOS #13, thanks. [/edit]

MBS Auto Parts

7:30 am on Apr 9, 2005 (gmt 0)



NOPE! I just saw it and That is not what I need!

cmatcme

7:32 am on Apr 9, 2005 (gmt 0)

10+ Year Member



h1 and h2 tags can be heavily customized:

<style>

h1 {color:#000099}

</style>

If you place that in your head tags all <h1> tags will
have a text colour of #000099. You can other attributes to this simple style sheet too.

It saves space, time and bandwidth and you can do the same with <h2> tags aswell!

cmatcme

Posted too late?

saoi_jp

10:55 am on Apr 9, 2005 (gmt 0)

10+ Year Member



Do I have that Right?

No, the <h1> tags go inside the body.

<body>
<h1>Widgets</h1>
<p>intro paragraph</p>
<h2>Why widgets?</h2>
<p>paragraph about why widgets</p>
<h2>Widget types</h2>
<p>blah blah </p>
<p>blah blah </p>

larryhatch

11:31 am on Apr 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



One other thing: Keep this in a hierarchy!

<h1>Widgets</h1>

<h2>Blue Widgets</h2>
blah blah blah . . . content / image / yak blah

<h2>Red Widgets</h2>
blah blah blah . . . content / image / yak blah

(maybe even)

<h3>1952 Blue Widgets</h3>
blah blah blah . . . [burp!] - Larry

.. and so on.

[edited by: trillianjedi at 4:26 pm (utc) on Aug. 22, 2005]
[edit reason] Examplifying [/edit]