Pure Standard HTML
This page shows you how plain HTML code is displayed in your browser.
The background color, base font faces, styles, sizes, and colors used are those
specified by your own browser settings.
The header and paragraph above was generated by this code:
Pure Standard HTML
This page shows you how plain HTML code is displayed in your browser.
The background color, base font faces, styles, sizes, and colors used are those
specified by your own browser settings.
Block-Level Formatting
ADDRESS
Source Code:
Normal Text Address Text Normal Text
Resulting Display:
Normal Text Address Text Normal Text
Source Code:
Normal Text
Address Line 1
Address Line 2
Address Line 3
Normal Text
Resulting Display:
Normal Text
Address Line 1
Address Line 2
Address Line 3
Normal Text
Normal Text Block Quote
Normal Text
Source Code:
Normal Text
Block Quote 1 Line 1
Block Quote 1 Line 2
Block Quote 2 Line 1
Block Quote 2 Line 2
Block Quote 1 Line 3
Normal Text
Resulting Display:
Normal Text
Block Quote 1 Line 1
Block Quote 1 Line 2
Block Quote 2 Line 1
Block Quote 2 Line 2
Block Quote 1 Line 3
Normal Text
CENTER
Source Code:
Normal Text Centered TextNormal Text
Resulting Display:
Normal Text Centered TextNormal Text
DIV Section
Source Code:
Normal Text DIV Section
Normal Text
Resulting Display:
Normal Text DIV Section
Normal Text
Source Code:
Normal Text
DIV Section
Normal Text
Resulting Display:
Normal Text
DIV Section
Normal Text
H1 THROUGH H6
Source Code:
Normal Text H1 Header
Normal Text
Resulting Display:
Normal Text H1 Header
Normal Text
Source Code:
Normal Text H2 Header
Normal Text
Resulting Display:
Normal Text H2 Header
Normal Text
Source Code:
Normal Text H3 Header
Normal Text
Resulting Display:
Normal Text H3 Header
Normal Text
Source Code:
Normal Text H4 Header
Normal Text
Resulting Display:
Normal Text H4 Header
Normal Text
Source Code:
Normal Text H5 Header
Normal Text
Resulting Display:
Normal Text H5 Header
Normal Text
Source Code:
Normal Text H6 Header
Normal Text
Resulting Display:
Normal Text H6 Header
Normal Text
HORIZONTAL RULE
Source Code:
Resulting Display:
NO BREAK
Source Code:
Normal Text Here is a piece of text where there under no circumstances
should be inserted line breaks. If the text would normally have been wrapped,
to keep it within the width of the window, it should just continue beyond the
right margin of the window, requiring the reader to use the bottom scrollbar
in the window/frame in order to read it to the end. Normal Text
Resulting Display:
Normal Text Here is a piece of text where there under no circumstances
should be inserted line breaks. If the text would normally have been wrapped,
to keep it within the width of the window, it should just continue beyond the
right margin of the window, requiring the reader to use the bottom scrollbar
in the window/frame in order to read it to the end. Normal Text
PARAGRAPH
Source Code:
Normal Text Paragraph Text
Normal Text
Resulting Display:
Normal Text Paragraph Text
Normal Text
PREFORMATTED
Source Code:
Normal Text Preformated Text
Normal Text
Resulting Display:
Normal Text Preformated Text
Normal Text
Source Code:
Normal Text
The PRE tag displays preformatted text in a fixed-width font.
The PRE element displays all white space and
line
breaks
exactly as they appear inside the <PRE> and </PRE> tags.
Unlike the <XMP> and <PLAINTEXT> tags, the <PRE> tag does not
suppress interpretation of other HTML tags.
Which is why < has been replaced by < a number of places in
the source code above in order to avoid interpretation of the tags.
Normal Text
Resulting Display:
Normal Text
The PRE tag displays preformatted text in a fixed-width font.
The PRE element displays all white space and
line
breaks
exactly as they appear inside the <PRE> and </PRE> tags.
Unlike the <XMP> and <PLAINTEXT> tags, the <PRE> tag does not
suppress interpretation of other HTML tags.
Which is why < has been replaced by < in the source code
a number of places above in order to avoid interpretation of the tags.
Normal Text
WORD BREAK
Source Code:
Normal Text Here is a piece of text where there under no circumstances
should be inserted line breaks. On the other hand, you can mark parts of
the text where you can accept line breaks. If the text would normally
have been wrapped, to keep it within the width of the window, it should just
continue beyond the right margin of the window, requiring the reader to use
the bottom scrollbar in the window/frame in order to read it to the
end. Normal Text
Resulting Display:
Normal Text Here is a piece of text where there under no circumstances
should be inserted line breaks. On the other hand, you can mark parts of
the text where you can accept line breaks. If the text would normally
have been wrapped, to keep it within the width of the window, it should just
continue beyond the right margin of the window, requiring the reader to use
the bottom scrollbar in the window/frame in order to read it to the
end. Normal Text
NOTE:
<WBR> is handled differently in the browsers tested by the author:
- Internet Explorer 6.0:
- Wraps the text where the <WBR> tag is found
- Netscape 7.1:
- Does not support <WBR>
- Netscape 4.7:
- Does not wrap the text untill it exceeds the width of the longest
line in the document, or a </WBR> tag is found
Without having checked it, the author expects that <WBR> is depreciated, and
not part the HTML Specification anymore. Use <BR> instead, where you want
line breaks to occur.
EXAMPLE
Source Code:
Normal Text <XMP>Example Text</XMP> Normal Text
Resulting Display:
Normal Text Example Text Normal Text
Source Code:
Normal Text
<XMP>
The XMP tag displays preformatted text in a fixed-width font.
The XMP element displays all white space and
line
breaks
exactly as they appear inside the XMP tags.
Unlike the <PRE> tag, the <XMP> tag does
suppress interpretation of other HTML tags.
Thus it has not been necessary to replace < with < to avoid
interpretation of the tags in the source code for this text.
</XMP>
Normal Text
Resulting Display:
Normal Text
The XMP tag displays preformatted text in a fixed-width font.
The XMP element displays all white space and
line
breaks
exactly as they appear inside the XMP tags.
Unlike the tag, the tag does
suppress interpretation of other HTML tags.
Thus it has not been necessary to replace < with < to avoid
interpretation of the tags in the source code for this text.
Normal Text
NOTE:
<XMP> is handled slightly differently in the browsers tested by the author:
- Netscape 7.1:
- If a NEWLINE follows right after the <XMP> tag in the source code
(possibly with only white space between the <XMP> tag and the NEWLINE
character(s)) this line break will litteraly be added to the extra line
space inserted between the text coming before the <XMP> tag and the
text following the opening <XMP> tag.
In Netscape 7.1 the <XMP>...</XMP> tags appear to have the bizarre
side effect that closing HTML tags (starting with "</") is converted
into lower case!? Very strange indeed.
- Internet Explorer 6.0 and Netscape 4.7:
- Does not insert this line break. I.e. the example text is not regarded
as starting before the line following the <XMP> tag, if the <XMP>
tag is immediately followed by a NEWLINE (possibly with white space
between the <XMP> tag and the NEWLINE character(s))
Lists
DIR
Source Code:
Normal Text
Top Level, 1st Item
Sub Level, 1st Item
Sub Level, 2nd Item
Top Level, 2nd Item
Another Sub Level, 1st Item
Another Sub Level, 2nd Item
Normal Text
Resulting Display:
Normal Text
Top Level, 1st Item
Sub Level, 1st Item
Sub Level, 2nd Item
Top Level, 2nd Item
Another Sub Level, 1st Item
Another Sub Level, 2nd Item
Normal Text
DEFINITION LIST
Source Code:
Normal Text
- 1st Definition Term
- First Definition Description
- 2nd Definition Term
- Second Definition Description
- 3rd Definition Term
- Third Definition Description
Normal Text
Resulting Display:
Normal Text
- 1st Definition Term
- First Definition Description
- 2nd Definition Term
- Second Definition Description
- 3rd Definition Term
- Third Definition Description
Normal Text
Source Code:
Normal Text
- #1
- First Definition Description
- #2
- Second Definition Description
- #3
- Third Definition Description
Normal Text
Resulting Display:
Normal Text
- #1
- First Definition Description
- #2
- Second Definition Description
- #3
- Third Definition Description
Normal Text
NOTE:
<DL COMPACT> is not supported in Netscape 7.1!
ORDERED LIST
Source Code:
Normal Text
- First Ordered List Item
- Second Ordered List Item
- First Ordered Sub List Item
- Second Ordered Sub List Item
- Third Ordered List Item
Normal Text
Resulting Display:
Normal Text
- First Ordered List Item
- Second Ordered List Item
- First Ordered Sub List Item
- Second Ordered Sub List Item
- Third Ordered List Item
Normal Text
UNORDERED LIST
Source Code:
Normal Text
- First Unordered List Item
- Second Unordered List Item
- First Unordered Sub List Item
- First Unordered Sub Sub List Item
- First Unordered Sub Sub Sub List Item
- Second Unordered Sub List Item
- Third Unordered List Item
Normal Text
Resulting Display:
Normal Text
- First Unordered List Item
- Second Unordered List Item
- First Unordered Sub List Item
- First Unordered Sub Sub List Item
- First Unordered Sub Sub Sub List Item
- Second Unordered Sub List Item
- Third Unordered List Item
Normal Text
Text Characteristics
BASEFONT
Source Code:
Normal Basefont Size (=3)
Normal
Font Size +4
Font Size +3
Font Size +2
Font Size +1
Font Size +0
Font Size -1
Font Size -2
Normal
Largest Basefont Size (=7)
Normal
Font Size +0
Font Size -1
Font Size -2
Font Size -3
Font Size -4
Font Size -5
Font Size -6
Normal
Smallest Basefont Size (=1)
Normal
Font Size +6
Font Size +5
Font Size +4
Font Size +3
Font Size +2
Font Size +1
Font Size +0
Normal
Normal
Resulting Display:
Normal Basefont Size (=3)
Normal
Font Size +4
Font Size +3
Font Size +2
Font Size +1
Font Size +0
Font Size -1
Font Size -2
Normal
Largest Basefont Size (=7)
Normal
Font Size +0
Font Size -1
Font Size -2
Font Size -3
Font Size -4
Font Size -5
Font Size -6
Normal
Smallest Basefont Size (=1)
Normal
Font Size +6
Font Size +5
Font Size +4
Font Size +3
Font Size +2
Font Size +1
Font Size +0
Normal
Normal
NOTE:
<BASEFONT> is not supported in Netscape 7.1!
BIG
Source Code:
NormalBigNormal
Resulting Display:
NormalBigNormal
Source Code:
NormalBigBiggerNormal
Resulting Display:
NormalBigBiggerNormal
BLINK
Source Code:
NormalNormal
Resulting Display:
NormalNormal
NOTE:
<BLINK> is not supported in Internet Explorer 6.0!
BOLD
Source Code:
NormalBoldNormal
Resulting Display:
NormalBoldNormal
CITE
Source Code:
NormalCitationNormal
Resulting Display:
NormalCitationNormal
CODE
Source Code:
NormalCodeNormal
Resulting Display:
NormalCodeNormal
EMPHASIS
Source Code:
NormalEmphasisNormal
Resulting Display:
NormalEmphasisNormal
FONT POINT-SIZE
Source Code:
Normal
Font Point Size 72
Font Point Size 48
Font Point Size 36
Font Point Size 28
Font Point Size 26
Font Point Size 24
Font Point Size 22
Font Point Size 20
Font Point Size 18
Font Point Size 16
Font Point Size 14
Font Point Size 12
Font Point Size 11
Font Point Size 10
Font Point Size 9
Font Point Size 8
Font Point Size 7
Font Point Size 6
Font Point Size 5
Font Point Size 4
Font Point Size 3
Font Point Size 2
Font Point Size 1
Font Point Size 0
Normal
Resulting Display:
Normal
Font Point Size 72
Font Point Size 48
Font Point Size 36
Font Point Size 28
Font Point Size 26
Font Point Size 24
Font Point Size 22
Font Point Size 20
Font Point Size 18
Font Point Size 16
Font Point Size 14
Font Point Size 12
Font Point Size 11
Font Point Size 10
Font Point Size 9
Font Point Size 8
Font Point Size 7
Font Point Size 6
Font Point Size 5
Font Point Size 4
Font Point Size 3
Font Point Size 2
Font Point Size 1
Font Point Size 0
Normal
NOTE:
<FONT POINT-SIZE> is not supported in Internet Explorer 6.0!
FONT SIZE
Source Code:
Normal
Font Size +4
Font Size +3
Font Size +2
Font Size +1
Font Size -1
Font Size -2
Normal
Resulting Display:
Normal
Font Size +4
Font Size +3
Font Size +2
Font Size +1
Font Size -1
Font Size -2
Normal
Source Code:
Normal
Font Size 7
Font Size 6
Font Size 5
Font Size 4
Font Size 3
Font Size 2
Font Size 1
Normal
Resulting Display:
Normal
Font Size 7
Font Size 6
Font Size 5
Font Size 4
Font Size 3
Font Size 2
Font Size 1
Normal
ITALIC
Source Code:
NormalItalicNormal
Resulting Display:
NormalItalicNormal
KEYBOARD
Source Code:
NormalKeyboardNormal
Resulting Display:
NormalKeyboardNormal
SMALL
Source Code:
NormalSmallNormal
Resulting Display:
NormalSmallNormal
Source Code:
NormalSmallSmallerNormal
Resulting Display:
NormalSmallSmallerNormal
STRIKE
Source Code:
NormalStrikeNormal
Resulting Display:
NormalStrikeNormal
Source Code:
NormalStrikeNormal
Resulting Display:
NormalStrikeNormal
STRONG
Source Code:
NormalStrongNormal
Resulting Display:
NormalStrongNormal
SUBSCRIPT
Source Code:
NormalSubscriptNormal
Resulting Display:
NormalSubscriptNormal
SUPERSCRIPT
Source Code:
NormalSuperscriptNormal
Resulting Display:
NormalSuperscriptNormal
TYPEWRITER
Source Code:
NormalTypewriterNormal
Resulting Display:
NormalTypewriterNormal
UNDERLINE
Source Code:
NormalUnderlineNormal
Resulting Display:
NormalUnderlineNormal
VARIABLE
Source Code:
NormalVariableNormal
Resulting Display:
NormalVariableNormal
Links
Anchors
Source Code:
Normal
A (not visited - until you click it, so don't)
link
A (visited) link
Normal
Resulting Display:
Normal
A (not visited - until you click it, so don't)
link
A (visited) link
Normal
Created on ... 2004-08-24