This page is part of the blog post Extensive CSS Test Page. Please go there to read about this page.
The purpose of this HTML is to help test the default settings defined by the CSS using as many different HTML elements as possible.
Wikipedia has a nice overview of the most common HTML elements.
This section will test all six <heading>
elements. Short headers will be tested as well as long ones that will take up several lines of text;
this demonstrates how the line distance is handled.
This is a normal paragraph following the header.
This is a normal paragraph following the header.
This is a normal paragraph following the header.
This is a normal paragraph following the header.
This is a normal paragraph following the header.
This is a normal paragraph following the header.
This is a normal paragraph following the header.
This is a normal paragraph following the header.
This is a normal paragraph following the header.
This is a normal paragraph following the header.
This is a normal paragraph following the header.
This is a normal paragraph following the header.
End of header tests.
This is a test link with a title, and this is a test link without.
In the lines with common tags below, the <sup>
and <sub>
tags may affect line distance depending on the web browser.
<em>
The latin words ab ovo usque ad mala means from beginning to end.
<i>
The latin words ab ovo usque ad mala means from beginning to end.
<b>
The latin words ab ovo usque ad mala means from beginning to end.
<strong>
The latin words ab ovo usque ad mala means from beginning to end.
<sup>
The latin words ab ovo usque ad mala means from beginning to end.
<sub>
The latin words ab ovo usque ad mala means from beginning to end.
<cite>
The latin words ab ovo usque ad mala means from beginning to end.
<code>
The latin words ab ovo usque ad mala
means from beginning to end.
<samp>
The latin words ab ovo usque ad mala means from beginning to end.
<tt>
The latin words ab ovo usque ad mala means from beginning to end.
<big>
The latin words ab ovo usque ad mala means from beginning to end.
<small>
The latin words ab ovo usque ad mala means from beginning to end.
<del>
The latin words ab ovo usque ad mala means from beginning to end.
<ins>
The latin words ab ovo usque ad mala means from beginning to end.
<abbr>
The letters NBA is an abbreviation (hover on it to
see what it means).
<acronym>
The letters NBA is an acronym (hover on it to
see what it means).
The following paragraphs uses a mix of the above elements. The 250x125 image of the city is floated right.
Lorem ipsum dolor sit amet, adipiscing
adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero
nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim
diam eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at,
commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. The word NBA is an abbreviation. Nullam
dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at,
tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget
metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae,
feugiat in, nunc. Morbi imperdiet augue quis tellus.
This entire paragraph is written with small text only. Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis
est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit
dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec,
gravida vehicula, nisl. The word NBA is an abbreviation. Praesent mattis, massa quis luctus fermentum,
turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy.
Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. Lorem ipsum dolor sit amet,
adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at,
tincidunt nec, gravida vehicula, nisl.
This entire paragraph is written with big text only. Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis
est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit
dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec,
gravida vehicula, nisl. The word NBA is an abbreviation. Praesent mattis, massa quis luctus fermentum,
turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy.
Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc.
Elements other than <p>
that affects large areas of text is tested here.
This sentence is wrapped in a
<blockquote>
element and is commonly used when quoting someone else in a blog. Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.
The following block of text is wrapped in a <pre>
element and can be used to show a chunk of code as an example:
lda #$01 sta #$d020 This is a very long line to test that the definition for this element can handle it. By default the element will show just one line, thereby creating a horizontal scroll bar. Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. lda #$01 sta #$d020
The following is wrapped in an <address>
element:
End of paragraph tests.
An image with <alt>
element only:
Same as the above, but also with a link:
An image with <title>
and <alt>
elements:
Same as the above, but also with a link:
Paragraph with an inline image:
This is a star image.
Paragraph with an inline image in a link:
End of image tests.
Paragraph after the last definition list.
End of list tests.
This section will test a complete <form>
with <fieldset>
and <legend>
tags inside it.
End of form tests.
All tables here have <cellspacing>
and <cellpadding>
both set to 0
.
This is a common table with just <tr>
, <th>
, and <td>
in use:
Header 1 | Header 2 | Header 3 | Header 4 | Header 5 |
---|---|---|---|---|
Division 1 | Division 2 | Division 3 | Division 4 | Division 5 |
Division 1 | Division 2 | Division 3 | Division 4 | Division 5 |
Division 1 | Division 2 | Division 3 | Division 4 | Division 5 |
The following table also uses <caption>
, <thead>
, <tfoot>
, and <tbody>
elements:
Header 1 | Header 2 | Header 3 | Header 4 | Header 5 |
---|---|---|---|---|
Table Footer | ||||
Division 1 | Division 2 | Division 3 | Division 4 | Division 5 |
Division 1 | Division 2 | Division 3 | Division 4 | Division 5 |
Division 1 | Division 2 | Division 3 | Division 4 | Division 5 |
Division 1 | Division 2 | Division 3 | Division 4 | Division 5 |
End of table tests.
End of CSS Test.