Testing display of HTML elements

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Numquam atque ipsam rem, voluptatibus distinctio hic quas soluta deserunt eveniet ullam aliquid quae mollitia fugit repellendus, eum quisquam dicta enim tenetur magni laudantium odio explicabo rerum sit doloribus dolore. Esse dicta numquam officia reiciendis tempore delectus ab harum, quaerat ullam natus.

This is 2nd level heading

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequuntur repudiandae, quasi harum delectus molestias provident nemo sunt facere praesentium? Consectetur. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi explicabo culpa quidem laborum saepe hic ut suscipit porro beatae veritatis!

This is 3rd level heading

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquam quo asperiores, earum illum velit ipsam sunt a nihil aperiam, distinctio, sapiente sint. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Placeat incidunt laudantium hic tenetur laborum dolores veniam saepe suscipit possimus quisquam.

This is 4th level heading

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Debitis dolor vitae, dolores dicta reiciendis magni beatae minus, dolore ad? Perspiciatis, excepturi, aliquam. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maiores adipisci velit aut fugit dolore, esse nam sapiente aliquam iste quidem.

This is 5th level heading

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nesciunt eaque, consectetur magni repellendus, aperiam ipsa quo officiis, ea sequi sed, voluptatibus obcaecati. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, magnam nostrum. Voluptatem dicta perspiciatis, voluptatum similique numquam consectetur eveniet. Fugiat!

This is 6th level heading

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quaerat iste quibusdam blanditiis cupiditate, deserunt nihil tempora voluptatum adipisci, totam ex, nostrum hic! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quaerat omnis harum voluptatem, ducimus nemo adipisci reiciendis, impedit quasi repudiandae placeat.

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.

This is a 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 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, jkorpela@cs.tut.fi
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".

The following is a menu list:

  • One.
  • Two.
  • Three. Well, probably this list item should be longer so that it will probably wrap to the next line in rendering.
  • 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 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.

    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.

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Earum expedita quibusdam quis, cumque architecto. Ipsam, placeat ex cumque explicabo, omnis odio temporibus, nesciunt soluta veritatis veniam modi commodi? Dolorum, error.
    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sint, numquam ad consequuntur corporis molestiae iste reiciendis ipsam dicta veritatis nam libero dolorum voluptate perferendis saepe alias animi perspiciatis fugit officiis.
    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Molestias cum numquam quia. Iste voluptatum ipsa quis, earum praesentium eius, quo commodi eveniet harum voluptatem cum sapiente placeat ex, nihil vero?
    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tempore, hic dicta mollitia accusamus voluptatibus debitis quos fuga, impedit doloremque explicabo nam distinctio officiis facilis soluta, labore, neque itaque praesentium. Cum.
    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nulla illum ea assumenda, nemo voluptatum voluptatibus illo nostrum id non, laboriosam, deserunt odio debitis consectetur hic quibusdam eos ut ipsa. Aliquid!
    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolorem vel, soluta, fugit corporis ipsum in. Mollitia repellendus voluptatem, et architecto optio suscipit ex eveniet nam, velit natus laboriosam ratione perspiciatis.
    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sequi sapiente dignissimos, nulla corrupti perspiciatis fugit nisi similique odio quibusdam tempore totam atque a quia repellendus architecto! Consectetur est, magnam debitis.
    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

    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:

    Links

    This is a text paragraph that contains someinline links. Generally, inline links (as opposite to e.g. linkslists) are problematicfrom 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

    Character test

    The following table has some sample characters with annotations. If the browser’s default font does not contain all of them, they may get displayed using backup fonts.This may cause stylistic differences, but it should not prevent the characters from being displayed at all.

    Char. Explanation Notes
    ê e with circumflex Latin 1 character, should be ok
    em dash Windows Latin 1 character, should be ok, too
    Ā A with macron (line above) Latin Extended-A character, not present in all fonts
    Ω capital omega A Greek letter
    minus sign Unicode minus
    diameter sign relatively rare in fonts

    Hyphenation

    In the following, a width setting should cause some hyphenation, depending on support to various methods of hyphenation.

    CSS-based hyphenation

    Until recently the great majority of naturalists believed that species were immutable productions, and had been separately created. This view has been ably maintained by many authors.

    JavaScript-driven hyphenation

    Until recently the great majority of naturalists believed that species were immutable productions, and had been separately created. This view has been ably maintained by many authors.

    Explicit hyphenation hints (soft hyphens)

    Un­til re­cent­ly the great a­jor­i­ty of nat­u­ral­ists be­lieved that spe­cies were im­mu­ta­ble pro­duc­tions, and had been sep­a­rate­ly cre­at­ed. This view has been ably main­tain­ed by many au­thors.