HTML Test Page

H1 Headline style text

This is a test paragraph. Lorem ipsum dolor sit amet, consectetuer adipiscing
elit. Nunc lacinia placerat urna. Nulla enim elit, malesuada vitae, vestibulum
eu, tristique quis, leo. In hac habitasse platea dictumst. Maecenas wisi. Vestibulum
ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;
Nulla tincidunt tristique nunc. Duis faucibus, diam sed aliquam lobortis, sapien
leo ornare sapien, in bibendum mi felis vel arcu. Cras varius, dolor eu interdum
dapibus, leo est bibendum eros, vel cursus est arcu eu massa.

This is 2nd level heading

This is a test paragraph. Lorem ipsum dolor sit amet, consectetuer adipiscing
elit. Nunc lacinia placerat urna. Nulla enim elit, malesuada vitae, vestibulum
eu, tristique quis, leo. In hac habitasse platea dictumst. Maecenas wisi. Vestibulum
ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;
Nulla tincidunt tristique nunc.

This is 3rd level heading

This is a test paragraph. Lorem ipsum dolor sit amet, consectetuer adipiscing
elit. Nunc lacinia placerat urna. Nulla enim elit, malesuada vitae, vestibulum
eu, tristique quis, leo. In hac habitasse platea dictumst. Maecenas wisi. Vestibulum
ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;
Nulla tincidunt tristique nunc.

This is 4th level heading

This is a test paragraph. Lorem ipsum dolor sit amet, consectetuer adipiscing
elit. Nunc lacinia placerat urna. Nulla enim elit, malesuada vitae, vestibulum
eu, tristique quis, leo. In hac habitasse platea dictumst. Maecenas wisi. Vestibulum
ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;
Nulla tincidunt tristique nunc.

This is 5th level heading

This is a test paragraph. Lorem ipsum dolor sit amet, consectetuer adipiscing
elit. Nunc lacinia placerat urna. Nulla enim elit, malesuada vitae, vestibulum
eu, tristique quis, leo. In hac habitasse platea dictumst. Maecenas wisi. Vestibulum
ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;
Nulla tincidunt tristique nunc.

This is 6th level heading

This is a test paragraph. Lorem ipsum dolor sit amet, consectetuer adipiscing
elit. Nunc lacinia placerat urna. Nulla enim elit, malesuada vitae, vestibulum
eu, tristique quis, leo. In hac habitasse platea dictumst. Maecenas wisi. Vestibulum
ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;
Nulla tincidunt tristique nunc.


Basic block level elements

Paragraph — This is a normal paragraph (p element).
To add some length to it, let us mention that this page was
primarily written for testing the effect of user style sheets.
You can use it for various other purposes as well, like just checking how
your browser displays various HTML elements.

This is another paragraph. I think it needs to be added that
the set of elements tested is not exhaustive in any sense. I have selected
those elements for which it can make sense to write user style sheet rules,
in my opionion.

Div – This is a div element. Authors may use such elements
instead of paragraph markup for various reasons. (End of div.)

Block Quote — This is a block quotation containing a single
paragraph. Well, not quite, since this is not really
quoted text, but I hope you understand the point. After all, this
page does not use HTML markup very normally anyway.

Address Element — The following contains address information about the author,
in an address
element.

Jukka Korpela,
jkorpela@cs.tut.fi

Lists

Unnumbered List — This is a paragraph before an unnumbered list
(ul).
Note that the spacing between a paragraph and a list before or after that is
hard to tune in a user style sheet. You can’t guess which paragraphs are
logically related to a list, e.g. as a “list header”.

  • One.
  • Two.
  • Three. Well, probably this list item should be longer. Note that
    for short items lists look better if they are compactly presented,
    whereas for long items, it would be better to have more vertical spacing between items.
  • Four. This is the last item in this list.
    Let us terminate the list now without making any more fuss about it.

Numbered List — This is a paragraph before a numbered list
(ol).
Note that the spacing between a paragraph and a list before or after that is
hard to tune in a user style sheet. You can’t guess which paragraphs are
logically related to a list, e.g. as a “list header”.

  1. One.
  2. Two.
  3. Three. Well, probably this list item should be longer. Note that if
    items are short, lists look better if they are compactly presented,
    whereas for long items, it would be better to have more vertical spacing between items.
  4. Four. This is the last item in this list.
    Let us terminate the list now without making any more fuss about it.

Definition List — This is a paragraph before a definition list
(dl).
In principle, such a list should consist of terms and associated
definitions.
But many authors use dl elements for fancy “layout” things. Usually
the effect is not too bad, if you design user style sheet rules for dl
which are suitable
for real definition lists.

recursion
see recursion
recursion, indirect
see indirect recursion
indirect recursion
see recursion, indirect
term
a word or other expression taken into specific use in
a well-defined meaning, which is often defined rather rigorously, even
formally, and may differ quite a lot from an everyday meaning

Text-level markup

  • ABBR (an abbreviation;
    abbrmarkup used)
  • radar (an acronym; acronymmarkup used)
  • bolded (b markup used – just bolding with unspecified
    semantics)
  • big thing (bigmarkup used)
  • Origin of Species (a book title;
    citemarkup used)
  • a[i] = b[i] + c[i); (computer code; codemarkup used)
  • here we have some deleted text (delmarkup used)
  • an octet is an entity consisting of eight bits
    (dfnmarkup used for the term being defined)
  • this is very simple (em markup used for emphasizing
    a word)
  • Homo sapiens (should appear in italics; imarkup used)
  • here we have some inserted text (insmarkup used)
  • type yes when prompted for an answer (kbd markup
    used for text indicating keyboard input)
  • Hello! (qmarkup used for quotation)
  • He said: She said Hello!(a quotation inside a quotation)
  • you may get the message
    Core dumpedat times
    (samp markup used for sample output)
  • this is not that important (smallmarkup used)
  • overstruck (strike markup used; note:
    s is a nonstandard synonym for strike)
  • this is highlighted text (strong
    markup used)
  • In order to test how subscripts and superscripts (sub and
    sup markup) work inside running text, we need some
    dummy text around constructs like x1 and H2O
    (where subscripts occur). So here is some fill so that
    you will (hopefully) see whether and how badly the subscripts
    and superscripts mess up vertical spacing between lines.
    Now superscripts: Mlle, 1st, and then some
    mathematical notations: ex, sin2 x,
    and some nested superscripts (exponents) too:
    ex2 and f(x)g(x)a+b+c
    (where 2 and a+b+c should appear as exponents of exponents).
  • text in monospace font (ttmarkup used)
  • underlined text (umarkup used)
  • the command cat filename displays the
    file specified by the filename (var markup
    used to indicate a word as a variable).

Some of the elements tested above are typically displayed in a monospace
font, often using the same presentation for all of them. This
tests whether that is the case on your browser:

  • This is sample text inside code markup
  • This is sample text inside kbd markup
  • This is sample text inside samp markup
  • This is sample text inside tt markup

Links

This is a text paragraph that contains some
inline links. Generally, inline links (as opposite to e.g. links
lists) are problematic
from the
usability perspective,
but they may have use as
“incidental”, less relevant links. See the document
Links Want To Be Links.

Forms

This is a form containing various fields (with some initial
values (defaults) set, so that you can see how input text looks
like without actually typing it):

The following two radio buttons are inside
a fieldset element with a legend:
Legend
Check those that apply
 

Tables

The following table has a caption. The first row and the first column
contain table header cells (th elements) only; other cells
are data cells (td elements), with align="right"
attributes:

Sample table: Areas of the Nordic countries, in sq km
Country Total area Land area Denmark 43,070 42,370 Finland 337,030 305,470 Iceland 103,000 100,250 Norway 324,220 307,860 Sweden 449,964 410,928

24.2.1 The list of characters

ÜÜÜÜlatin capital letter U with diaeresis

Character
Entity
Numeric
Entity
Char Num Entity
Description
  non-breaking space
¡ ¡ ¡ ¡ inverted exclamation mark
¢ ¢ ¢ ¢ cent sign
£ £ £ £ pound sign
¤ ¤ ¤ ¤ currency sign
¥ ¥ ¥ ¥ yen sign
¦ ¦ ¦ ¦ broken bar
§ § § § section sign
¨ ¨ ¨ ¨ diaeresis
© © © © copyright sign
ª ª ª ª feminine ordinal indicator
« « « « left-pointing double angle quotation mark
¬ ¬ ¬ ¬ not sign
­ ­ ­ ­ soft hyphen
® ® ® ® registered sign
¯ ¯ ¯ ¯ macron
° ° ° ° degree sign
± ± ± ± plus-minus sign
² ² ² ² superscript two
³ ³ ³ ³ superscript three
´ ´ ´ ´ acute accent
µ µ µ µ micro sign
¶ pilcrow sign
· · · · middle dot
¸ ¸ ¸ ¸ cedilla
¹ ¹ ¹ ¹ superscript one
º º º º masculine ordinal indicator
» » » » right-pointing double angle quotation mark
¼ ¼ ¼ ¼ vulgar fraction one quarter
½ ½ ½ ½ vulgar fraction one half
¾ ¾ ¾ ¾ vulgar fraction three quarters
¿ ¿ ¿ ¿ inverted question mark
À À À À latin capital letter A with grave
Á Á Á Á latin capital letter A with acute
    latin capital letter A with circumflex
à à à à latin capital letter A with tilde
Ä Ä Ä Ä latin capital letter A with diaeresis
Å Å Å Å latin capital letter A with ring above
Æ Æ Æ Æ latin capital letter AE
Ç Ç Ç Ç latin capital letter C with cedilla
È È È È latin capital letter E with grave
É É É É latin capital letter E with acute
Ê Ê Ê Ê latin capital letter E with circumflex
Ë Ë Ë Ë latin capital letter E with diaeresis
Ì Ì Ì Ì latin capital letter I with grave
Í Í Í Í latin capital letter I with acute
Î Î Î Î latin capital letter I with circumflex
Ï Ï Ï Ï latin capital letter I with diaeresis
Ð Ð Ð Ð latin capital letter ETH
Ñ Ñ Ñ Ñ latin capital letter N with tilde
Ò Ò Ò Ò latin capital letter O with grave
Ó Ó Ó Ó latin capital letter O with acute
Ô Ô Ô Ô latin capital letter O with circumflex
Õ Õ Õ Õ latin capital letter O with tilde
Ö Ö Ö Ö latin capital letter O with diaeresis
× × × × multiplication sign
Ø Ø Ø Ø latin capital letter O with stroke
Ù Ù Ù Ù latin capital letter U with grave
Ú Ú Ú Ú latin capital letter U with acute
Û Û Û Û latin capital letter U with circumflex
Ý Ý Ý Ý latin capital letter Y with acute
Þ Þ Þ Þ latin capital letter THORN
ß ß ß ß latin small letter sharp s
à à à à latin small letter a with grave
á á á á latin small letter a with acute
â â â â latin small letter a with circumflex
ã ã ã ã latin small letter a with tilde
ä ä ä ä latin small letter a with diaeresis
å å å å latin small letter a with ring above
æ æ æ æ latin small letter ae
ç ç ç ç latin small letter c with cedilla
è è è è latin small letter e with grave
é é é é latin small letter e with acute
ê ê ê ê latin small letter e with circumflex
ë ë ë ë latin small letter e with diaeresis
ì ì ì ì latin small letter i with grave
í í í í latin small letter i with acute
î î î î latin small letter i with circumflex
ï ï ï ï latin small letter i with diaeresis
ð ð ð ð latin small letter eth
ñ ñ ñ ñ latin small letter n with tilde
ò ò ò ò latin small letter o with grave
ó ó ó ó latin small letter o with acute
ô ô ô ô latin small letter o with circumflex
õ õ õ õ latin small letter o with tilde
ö ö ö ö latin small letter o with diaeresis
÷ ÷ ÷ ÷ division sign
ø ø ø ø latin small letter o with stroke
ù ù ù ù latin small letter u with grave
ú ú ú ú latin small letter u with acute
û û û û latin small letter u with circumflex
ü ü ü ü latin small letter u with diaeresis
ý ý ý ý latin small letter y with acute
þ þ þ þ latin small letter thorn
ÿ ÿ ÿ ÿ latin small letter y with diaeresis

 

 


Jukka Korpela

Date
of creation: 2000-09-15.
Last update: 2007-05-02.