HTML Demo Page
This document contains samples of most HTML constructs.
To see the tags, use "View / Source" from your browser.
Also see: HTML reference and colors.
- Bold Text
- Italicized Text
- Underlined Text
- Emphasized Text
- Strong Text
Code Text
- Citation Text
- Keyboard Text
- Sample Text
- Teletype Text
- Variable Element Text
- Bold and Italicized Text
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Font attributes (names, color, size) may be controlled by HTML tags.
Ordered List
- Line 1
- Line 2
Unordered List
Definition List
- Term 1
- Term 1's definition
- Term 2
- Term 2's definition
Directory List (looks just like unordered list)
Item 1
Item 2
Menu List (looks just like unordered list)
Lists can be nested in various ways
- First Item
- First Sub Item
- First Sub Sub Item
- Second Sub Sub Item
- Second Sub Item
- Second Item
Here is an inline image.
unless an error occurs in which case an error bitmap is shown.
Images may be aligned so that text is
at the bottom (default) ,
at the top
or in the middle .
Images may be
hotspots too.
In an HTML document, some characters must be specially entered.
- The characters <, >, &, and " have special significance
in the HTML language. They can be entered as <,
>, &,
and " respectively. (Note the semicolon terminator).
- Non keyboard characters may be entered in the form
&#NNN; where NNN is the decimal number representing
the character. For instance, the
© copyright symbol may be entered as &169;.
- Some characters in the Latin entity set also have special symbols by
which they may be entered. For example, A with a grave accent,
À, is entered as À.
Mr. John Doe
1234 Main Street
Anytown USA 12345
This is preformated text, <pre>. Multiple spaces and
carriage returns are recognized. Preformated text won't
wrap. It can have hot spots too.
This is blockquote text. It is used to indicate text quoted
from another source. Here it is rendered as indented plain text.
Here is a line of centered text.
Weight |
Fee |
---|
Not over 10 pounds |
$1.80 |
Over 10 pounds |
$2.50 |