HOME
MAIN
NEXT
PREV
HTML H1-H6 Elements (Heading) Summary
H1-H6 Elements: Heading
Usage:
<Hn>...</Hn>
Can Contain: characters, character highlighting,
A, APPLET, BR, IMG,
BASEFONT, MAP, SCRIPT, [ISINDEX], INPUT, SELECT, TEXTAREA
Can Be Inside: BLOCKQUOTE, BODY, CENTER, DIV, FORM, TD, TH
Attributes: ALIGN
- Attributes:
Attribute
- ALIGN="left", "center", "right", "justify"
["justify"--proposed] (optional)
TOP
<H1> H1 Heading</H1>
H1 Heading
TOP
- Example 2: H2 with ALIGN="left"
<H2 ALIGN="left">
H2 Heading with ALIGN="left"</H2>
- Example 2 Output: H2 with ALIGN="left"
H2 Heading with ALIGN="left"
TOP
- Example 3: H3 with ALIGN="right"
<H3 ALIGN="right">
H3 Heading with ALIGN="right"</H3>
- Example 3 Output: H3 with ALIGN="right"
H3 Heading with ALIGN="right"
TOP
- Example 4: H4 with ALIGN="center"
<H4 ALIGN="right">
H4 Heading with ALIGN="center"</H4>
- Example 4 Output: H4 with ALIGN="center"
H4 Heading with ALIGN="center"
TOP
- Example 5: H5 with ALIGN="justify"
<H5 ALIGN="justify">
H5 Heading with ALIGN="justify"</H5>
- Example 5 Output: H5 with ALIGN="justify"
H5 Heading with ALIGN="justify"
TOP
<H6> H6 Heading</H6>
H6 Heading
HOME
MAIN