Testing display of HTML elements
This is 2nd level heading
This is a test paragraph.This is 3rd level heading
This is a test paragraph.This is 4th level heading
This is a test paragraph.This is 5th level heading
This is a test paragraph.This is 6th level heading
This is a test paragraph.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 opinion.
Testing display of HTML elements
Pellentesque in ipsum id orci porta dapibus. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
This is adiv 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 really quoted 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.
Jukka Korpela,
[email protected]
Päivänsäteenkuja 4 A, Espoo, Finland
Lists
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.
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.
Text-level markup
- CSS (an abbreviation;
abbrmarkup used) - radar (an acronym;
acronymmarkup used) - bolded (
bmarkup used – just bolding with unspecified semantics) - big thing (
bigmarkup used) - large size (
font size=6markup used) - Courier font (
font face=Couriermarkup used) - red text (
font color=redmarkup used) - Origin of Species (a book title;
citemarkup used) a[i] = b[i] + c[i);(computer code;codemarkup used)- here we have some
deletedtext (delmarkup used) - an octet is an entity consisting of eight bits
(
dfnmarkup used for the term being defined) - this is very simple (
emmarkup 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 (
kbdmarkup used for text indicating keyboard input) Hello!
(qmarkup used for quotation)- He said:
She said
(a quotation inside a quotation)Hello!
- you may get the message Core dumped at times
(
sampmarkup used for sample output) - this is not that important (
smallmarkup used) - overstruck (
strikemarkup used; note:sis a nonstandard synonym forstrike) - this is highlighted text (
strongmarkup used)
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.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:
| 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 |
Primary button (‘medium’ in Elementor) .btn-primary