Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
H1 tags, H2 tags, H3 tags, ect. How do you use each type of "H" tag. CygnusX1
I know how to use H1 tags, but I am at a loss when and where to use H2 and H3 tags or higher number "H" tags. Can someone please explain where on the webpage is the best place to put each type of "H" tag.
H tags refelct the document structure. I think of it this way
H1 = Chapter Heading
H2 = Section Heading H3 = Paragraph Heading
Using this analogy, I suppose I would use H4 and H5 in a cited block of text that contained headings of its own.
H1 = Chapter Heading H2 = Section Heading H3 = Paragraph Heading
What I have done is put at the top of each page a bold title for the page and made it in H1 tags.
So I should make a smaller title for different subjects, and above those paragraphs make those smaller titles H2 tags?
On the H3 tags, how do I use those in a paragraph heading?
Use CSS to make it look as you wish. I have done it many ways. Big, small, right aligned, centered, even in-line with a paragraph.
For some more information about function and form
Thanks very much. I understand now. jamesa
Think of it as an outline with each page starting at H1. The number after the "H" is the level of indentation so to speak.
So this outline:
....a) North Pole ....b) South Pole
II. Mating Habits
...would translate to this HTML:
<h1>Polar Bears</h1> <p>some text</p>
<p>text about regions</p>
...<p>text about north pole</p>
...<p>text about south pole</p>
<p>text about mating habits</p>
<p>text about hibernation</p>
The H1 only appears once per page and usually matches or closely resembles the <TITLE> tag. H2's are the main sections under H1. H3's are the main sections under the H2's, etc...
The example you have shown is great. I just never tried to use anything but the "H1" tags before. Will try to use them very soon.
Thanks everyone for your help.
It seesms that XHTML 2.0 [ www-106.ibm.com] will address this problem rather neatly.