Main Index |
Top Of Tree |
Tag Index |
Tag History
- What is it?
- The six heading levels (H1-H6) indicate section headings. Heading
1(H1) is rendered as the largest and most important section heading while
Heading 6(H6) is rendered as the smallest (lowest importance) heading.
- Attributes
- Align
- 2 | 3
| 3.2 | IE1
| M2B4 | N1
- Required? No
- Description:
This indicates the alignment of the heading text in the browser window.
- Values: Left
[DEFAULT] | Center
| Right | Justify
Style Sheet Attributes
[More on Cascading Style Sheets]
- Class
- 2 | 3
| 3.2 | IE3B1
| M | N4B2
- Required? No
- Description:
This represents an assigned semantic classification grouping(s) for the
current tag.
- Values:
Given as a comma separated list of alphanumeric characters. Class names
may contain spaces (multiple consecutive spaces treated as a single
space.)
- ID
- 2 | 3
| 3.2 | IE3B1
| M | N4B2
- Required? No
- Description:
This assigns an alpha-numeric identifier that is unique
to this tag instance. Style sheets may use this attribute to reference
the current instance of this tag. Hyperlinks may also use this identifier
to serve as a destination.
- Values:
An alphanumeric string - initial character must be a letter followed
by alphabetic characters, digits, "-" or "."
characters. The allowable set of alpha-characters is restricted to the
A-Z and a-z set.
- Style
- 2 | 3
| 3.2 | IE3B1
| M | N4B3
- Required? No
- Description:
This attribute is a text string that provides rendering style
information for the current tag.
- Values:
Please see the description of
inline styles for more
information on how to use this attribute and its
possible values.
- Example
- <h2 ALIGN="center">text</h2>
- Parent Model
- %Block Format
Parent% |
%Multimedia
Parent% |
<Body>
- Content Model
- %Text% |
%Anchors% |
%Virtual Formatting% |
%Physical Formatting% |
%Line Break Content% |
%Multimedia Content%
Tips & Tricks
- This tag was very commonly used solely for its font sizing features
and even though the character formatting tags BIG, FONT and SMALL are
now available, headings can still be used for this purpose (and
Headings are still more widely implemented than these other tags.)
- Mixing Headings and FONT tags (especially those with SIZE attributes)
is possible, and is actually a good idea for backward compatibility.
Browser Peculiarities
- Mosaic has always supported another heading size, H7, which is
smaller and less important than H6.
- The 'justify' value of the ALIGN attribute is currently only supported in
Netscape, versions 4.0 Beta 2 and above.
Boring Copyright Stuff...