Forum Moderators: open

Message Too Old, No Replies

Where do I find H1, H2, H3 Tag Data

Where do I find them?

         

claire2005

3:06 pm on Oct 14, 2008 (gmt 0)

10+ Year Member



i hope this doesn't sound like a really stupid question...but where do i find the above 'tags'? i ran some kind of 'comparison' report with my competitors and me and it said i didn't have any of them, but my competitors did (and it showed what theirs was), but i can't find it when i look at their source.

i know where the 'title', 'description', 'key words' are...and see 'head', 'body', etc.

perhaps it right in front of me...but i must be missing it.
thanks

Staffa

3:45 pm on Oct 14, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Look for something like

<body>
<h1>First title</h1>
some text ...

<h2>Second title</h2>
some text ...

<h3>Third title</h3>
some text ...
</body>

;o)

g1smd

3:49 pm on Oct 14, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Those are headings. A heading sits above, and introduces, the following paragraphs, lists, tables, or forms. They are useful and important.

The other site might be cloaking different content to bots; that's suggested by your comment that you can't see them in the normal source view in your browser.

claire2005

4:33 pm on Oct 14, 2008 (gmt 0)

10+ Year Member



okay, so i've looked at my html on my index page and i can see the </head> (both top and bottom) and <body> (both top and bottom), but i don't see the H1, etc. can i add them? and if so, where would you recommend adding them? i have both images (used images to create my tabs (choices) for other pages) and text on the page.

BTW - is the H1, etc tags seen on my 'normal' page view or just in the HTML?

tedster

6:21 pm on Oct 14, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



These elements belong within the <body> area. They are block level containers, just like a <p> or <li> element - except that the Hn elements telegraph semantically important information and create a kind of "outline" for the document.

jimbeetle

6:38 pm on Oct 14, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Sounds like you can use a good grounding in HTML, claire2005. Have a look at W3 School's HTML Tutorial [w3schools.com]. Working through the examples will give you a good understanding of the basics.

claire2005

8:06 pm on Oct 14, 2008 (gmt 0)

10+ Year Member



thanks for the tutorial link, i will take a look.

yeah, i've only been responsible for creating visually 'pretty' websites for our small business...now i was given the task of making sure the html, seo stuff, etc is in place (we only have two employees...me and hubby...and because hubby doesn't want to do it, that leaves me :o(

because i am starting at this point (after the website was designed), i am feeling a bit overwhelmed with the html (since i never looked at it during the website building process...no, i am no expert by any means...just trying to save some money doing this ourselves until we get big and make some $$$)

MizzBia

7:16 am on Oct 15, 2008 (gmt 0)

10+ Year Member



We all have to start somewhere :)
jimbeetle's link is a great start... that should get you on your way.

The heading tags are really simple. You basically just wrap your page title with a nice keyword or two in between the <H1>header 1 tag</H1>. Make sure you don't keyword stuff-it and that you add it AFTER your </head> and <body> tags.

g1smd

9:17 am on Oct 15, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Most people designing web pages started out using tables to break the pages in to boxes, wrapped each bit of content in font tags to change size, colour and typeface, and br tags to space things out. That was not the best way to do things.

Nowadays you are far better off to make sure that each piece of content is a heading, paragraph, list, or table (if it really is tabular data) and marked up as such. Each of those can be styled with some very simple CSS in a separate style file.

That takes care of the structure of the information on the page. To visually lay it out, many people use div to create boxes, but some still stick with tables. I use a mixture of both, as needed.

I never use font or br tags, and I make sure that every piece of content in to be found in a container of hn, p, li, or td.

tedster

9:28 pm on Oct 15, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I still use the occasional <br> tag, since it takes more characters to force a line break inside an H1 element with a one-off attribute in each case like style="width:112px".

tangor

11:27 pm on Oct 17, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



All the above is sound advice. I will only add that one should have only ONE (1) h1 per PAGE, usually at the TOP of the document, and usually the title or descriptive of the page content. I use hn this way:

title = h1
I. = h2
a. = h3
II. = h2
a. = h3
1. = h4

etc.

These elements can by styled via css anyway you like.

srinu

2:02 pm on Nov 10, 2008 (gmt 0)

10+ Year Member



For Heading we use H1,H2,..H6.

g1smd

7:01 pm on Nov 10, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have never gone beyond H4, rarely beyond H3.

claire2005

6:03 pm on Nov 11, 2008 (gmt 0)

10+ Year Member



can i ask for someone's example of a 'good' website with H1 & H2 used? i've tried to google something to that effect...but having a hard time. maybe it's a silly question, but i now know what the H1 (title) and H2 (chapters) are for on the page, but i just want to make sure that i am writing (or re-writing)them correctly.

is the H1 (title) suppose to include some of your keywords and then name of your business and is best to put it at the top (even about the logo that spans the entire width of the top of the website)?

so the H1 would look like ' X Y Z ¦ Name of business' (X Y Z being place holders for my keywords)

i think the whole thing (H1, H2, etc) makes sense, but when i go back to each page to look at the H1, H2 i am getting all confused (the site has approx 60 pages). For example one part of my business (5 rental cabins - hope i can use that...didn't know if i should just say 'X Y Z' again) are all similar 'lakeside rental cabins', but they each have their own cabin name (and page) - so is it okay to have identical H1's on those 5 pages and then the H2's would be the cabin names (with their pictures and amentities)

lots of questions i know...just trying to figure this all out.
thanks

g1smd

10:04 pm on Nov 13, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The main heading H1 should only describe what that page is about, not contain site-wide information.

The W3C HTML Validator has an option to show an outline of the document. That outline is generated only from the heading tags on the page. It is a useful indicator as to how well the headings convey what the page is all about.