This is 1st level heading
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 by default. It can also be useful when testing conversions from HTML format to other formats, since some elements can go wrong then.
This is 2nd level heading
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 by default. It can also be useful when testing conversions from HTML format to other formats, since some elements can go wrong then.
This is 3rd level heading
This is 3rd level heading
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 by default. It can also be useful when testing conversions from HTML format to other formats, since some elements can go wrong then.
This is 4th level heading
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 by default. It can also be useful when testing conversions from HTML format to other formats, since some elements can go wrong then.
This is 5th level heading
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 by default. It can also be useful when testing conversions from HTML format to other formats, since some elements can go wrong then.
This is 6th level heading
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 by default. It can also be useful when testing conversions from HTML format to other formats, since some elements can go wrong then.
Basic block level elements
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 by default. It can also be useful when testing conversions from HTML format to other formats, since some elements can go wrong then. 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
element. Authors may use such elements instead of paragraph markup for various reasons. (End of div
.)This is a block quotation containing a single paragraph. Well, not quite, since this is not reallyquoted text, but I hope you understand the point. After all, this page does not use HTML markup very normally anyway.
The following contains address information about the author, in an address
element.
Lists
This is a paragraph before an unnumberedlist (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.
The following is a menu
list:
The following is a dir
list:
- One.
- Two.
- Three. Well, probably this list item should be longer so that it will probably wrap to the next line in rendering. This is a paragraph before a numberedlist (
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”.- One.
- Two.
- 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.
- Four. This is the last item in this list. Let us terminate the list now without making any more fuss about it.
This is a paragraph before a definitionlist (
dl
). In principle, such a list should consist of termsand associated definitions. But many authors usedl
elements for fancy “layout” things. Usually the effect is not toobad, if you design user style sheet rules fordl
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
- CSS(an abbreviation;
abbr
markup used) - radar(an acronym;
acronym
markup used) - bolded(
b
markup used – just bolding with unspecified semantics) - big thing(
big
markup used) - large size(
font size=6
markup used) - Courier font(
font face=Courier
markup used) - red text(
font color=red
markup used) - Origin of Species(a book title;
cite
markup used) a[i] = b[i] + c[i);
(computer code;code
markup used)- here we have some
deletedtext (del
markup used) - an octetis an entity consisting of eight bits (
dfn
markup used for the term being defined) - this is verysimple (
em
markup used for emphasizing a word) - Homo sapiens(should appear in italics;
i
markup used) - here we have some insertedtext (
ins
markup used) - type yeswhen prompted for an answer (
kbd
markup used for text indicating keyboard input) Hello!
(q
markup 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(
small
markup used) - overstruck(
strike
markup used; note:s
is a nonstandard synonym forstrike
) - this is highlighted text(
strong
markup used) - In order to test how subscripts and superscripts (
sub
andsup
markup) work inside running text, we need some dummy text around constructs like x1and 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, sin2x, and some nested superscripts (exponents) too: ex2and f(x)g(x)a+b+c(where 2 and a+b+c should appear as exponents of exponents). - text in monospace font(
tt
markup used) - underlinedtext (
u
markup used) - the command
cat
filenamedisplays 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 samepresentation 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 usabilityperspective, but they may have use as “incidental”, less relevant links. See the document Links Want To Be Links.
Forms
Recent Comments