Table of Contents

HTML Style Test

About

This is a test page filled with common HTML elements to be used to provide visual feedback whilst building CSS systems and frameworks.

[Top]

Text

Headings

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

[Top]


Lorem ipsum

Lorem ipsum dolor sit

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipisicing elit

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.

[Top]

Test - .button class

Test - .button class

Test - .button class
Test - .button class

[Top]


Paragraphs

A paragraph (from the Greek paragraphos, “to write beside” or “written beside”) is a self-contained unit of a discourse in writing dealing with a particular point or idea. A paragraph consists of one or more sentences. Though not required by the syntax of any language, paragraphs are usually an expected part of formal writing, used to organize longer prose.

[Top]


Blockquotes

A block quotation (also known as a long quotation or extract) is a quotation in a written document, that is set off from the main text as a paragraph, or block of text.

It is typically distinguished visually using indentation and a different typeface or smaller size quotation. It may or may not include a citation, usually placed at the bottom.

Said no one, ever.

[Top]


Backgrounds

background-color in P

Word Color Backgrounds

Tomato Tomato

MediumSeaGreen MediumSeaGreen

DodgerBlue DodgerBlue

Hexcolor Backgrounds

#FA0 #FA0

#A1F203 #A1F203

Newer Method

#6347ff77 #6347ff77

RGB(A) Backgrounds

rgb(82, 255, 146) rgb(82, 255, 146)

rgba(125, 255, 71, .25) rgba(125, 255, 71, .25)

Newer Method

rgb(255 82 146) rgb(255 82 146)

rgb(82 183 255 / 50%) rgb(82 183 255 / 50%)

HSL(A) Backgrounds

hsl(0deg, 100%, 66%) hsl(0deg, 100%, 66%)

hsla(210deg, 100%, 66%, .25) hsla(210deg, 100%, 66%, .25)

Newer Method

hsl(0deg 100% 66%) hsl(0deg 100% 66%)

hsl(75 100% 66% / .5) hsl(75 100% 66% / .5)

background-color in Div

Word Color Backgrounds
Tomato Tomato
MediumSeaGreen MediumSeaGreen
DodgerBlue DodgerBlue
Hexcolor Backgrounds
#FA0 #FA0
#A1F203 #A1F203
Newer Method
#6347ff77 #6347ff77
RGB(A) Backgrounds
rgb(82, 255, 146) rgb(82, 255, 146)
rgba(125, 255, 71, .25) rgba(125, 255, 71, .25)
Newer Method
rgb(255 82 146) rgb(255 82 146)
rgb(82 183 255 / 50%) rgb(82 183 255 / 50%)
HSL(A) Backgrounds
hsl(0deg, 100%, 66%) hsl(0deg, 100%, 66%)
hsla(210deg, 100%, 66%, .25) hsla(210deg, 100%, 66%, .25)
Newer Method
hsl(0deg 100% 66%) hsl(0deg 100% 66%)
hsl(75 100% 66% / .5) hsl(75 100% 66% / .5)

[Top]


Text Color

Word Colors

color:Tomato

color:MediumSeaGreen

color:DodgerBlue

Hexcolors

#FA0

#A1F203

Newer Method

#6347ff77

RGB(A) Colors

rgb(82, 255, 146)

rgba(125, 255, 71, .25)

Newer Method

rgb(255 82 146)

rgb(82 183 255 / 50%)

HSL(A) Colors

hsl(0deg, 100%, 66%)

hsla(210deg, 100%, 66%, .25)

Newer Method

hsl(0deg 100% 66%)

hsl(75 100% 66% / .5)

[Top]


Lists

Definition list

Definition List Title
This is a definition list division.

Ordered Lists

Numerical
  1. List Item 1
  2. List Item 2
  3. List Item 3
Alphabetical Uppercase
  1. List Item 1
  2. List Item 2
  3. List Item 3
Alphabetical Lowercase
  1. List Item 1
  2. List Item 2
  3. List Item 3
Roman Numeral Uppercase
  1. List Item 1
  2. List Item 2
  3. List Item 3
Roman Numeral Lowercase
  1. List Item 1
  2. List Item 2
  3. List Item 3

Unordered Lists

disc
  • List Item 1
  • List Item 2
  • List Item 3
circle
  • List Item 1
  • List Item 2
  • List Item 3
square
  • List Item 1
  • List Item 2
  • List Item 3
none
  • List Item 1
  • List Item 2
  • List Item 3

[Top]


Nested Lists

Ordered List

  1. Lorem ipsum
  2. dolor sit amet,
    1. consectetur adipisicing elit,
    2. sed do eiusmod tempor incididunt ut
      1. labore et dolore magna aliqua.
      2. Ut enim ad minim veniam,
        1. quis nostrud exercitation
        2. ullamco laboris nisi ut
          1. aliquip ex ea commodo consequat.
          2. Duis aute irure dolor in reprehenderit
            1. in voluptate velit
            2. esse cillum dolore eu fugiat nulla pariatur.
              1. Excepteur sint occaecat
              2. cupidatat non proident,
                1. sunt in culpa qui
                2. officia deserunt mollit anim id est laborum.
              3. aliquip ex ea commodo consequat
            3. in voluptate velit
          3. Excepteur sint occaecat
        3. quis nostrud exercitation
      3. sunt in culpa qui
    3. officia deserunt mollit anim id est laborum.
  3. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.

Unordered List

  • Lorem ipsum
  • dolor sit amet,
    • consectetur adipisicing elit,
    • sed do eiusmod tempor incididunt ut
      • labore et dolore magna aliqua.
      • Ut enim ad minim veniam,
        • quis nostrud exercitation
        • ullamco laboris nisi ut
          • aliquip ex ea commodo consequat.
          • Duis aute irure dolor in reprehenderit
            • in voluptate velit
            • esse cillum dolore eu fugiat nulla pariatur.
              • Excepteur sint occaecat
              • cupidatat non proident,
                • sunt in culpa qui
                • officia deserunt mollit anim id est laborum.
              • aliquip ex ea commodo consequat
            • in voluptate velit
          • Excepteur sint occaecat
        • quis nostrud exercitation
      • sunt in culpa qui
    • officia deserunt mollit anim id est laborum.
  • Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.

[Top]


Horizontal rules


[Top]


Tables (Tabular Data)

Table Caption
Table Heading 1Table Heading 2Table Heading 3Table Heading 4Table Heading 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
Table Footer 1Table Footer 2Table Footer 3Table Footer 4Table Footer 5

[Top]


Address

Written by Jon Doe.
Visit us at:
Example.com
221b Baker St,
Marylebone,
London NW1 6XE,
United Kingdom

[Top]


Details

Details summary

More details come here.
Another sentence.

[Top]


Code

Keyboard input: Cmd

Inline code: <div>code</div>

Sample output: This is sample output from a computer program.

Pre-formatted text

P R E F O R M A T T E D T E X T
! " # $ % & ' ( ) * + , - . /
0 1 2 3 4 5 6 7 8 9 : ; < = > ?
@ A B C D E F G H I J K L M N O
P Q R S T U V W X Y Z [ \ ] ^ _
` a b c d e f g h i j k l m n o
p q r s t u v w x y z { | } ~ 

[Top]


Inline elements

Here is a text link shown.

Strong is used to indicate strong importance.

This text has added emphasis.

The b element is stylistically different text from normal text, without any special importance.

The i element is text that is offset from the normal text.

The u element is text with an unarticulated, though explicitly rendered, non-textual annotation.

This text is deleted and This text is inserted.

This text has a strikethrough.

Superscript®.

Subscript for things like H2O.

This small text is small for fine print, etc.

Abbreviation: HTML

This text is a short inline quotation.

This is a citation.

The dfn element indicates a definition.

The mark element indicates a highlight.

The variable element, such as x = y.

The time element:

[Top]


HTML Comments

There is comment here:

There is a comment spanning multiple tags and lines below here.

[Top]

Embedded content

Images

No <figure> element

Image alt text

Wrapped in a <figure> element, no <figcaption>

Image alt text

Wrapped in a <figure> element, with a <figcaption>

Image alt text
Here is a caption for this image.

[Top]


Background Images

[Top]


Picture

Resize the browser window to see other images.

Image below shown when screen is min 1200 pixels wide.

Image below shown when screen is min 1000 pixels wide.

Image below shown when screen is min 800 pixels wide.

Image below shown when screen is min 600 pixels wide.

Image below shown when screen is min 400 pixels wide.

Image below shown when screen is less than 400 pixels wide.

Kittens

[Top]


Audio

[Top]


Video

[Top]


Canvas

canvas

[Top]


Meter

0 out of 10
1 out of 10
4 out of 10
7 out of 10
10 out of 10

[Top]


Progress

progress

[Top]


Inline SVG

[Top]


IFrame

[Top]


Embed

[Top]


Object

[Top]


YouTube Video

[Top]

Form elements

Input fields

Input fields

[Top]


HTML5 Inputs

HTML5 inputs

[Top]


Textareas

Textareas



[Top]


Select menus

Select menus




[Top]


Checkboxes

Checkboxes

[Top]


Radio Buttons

Radio Buttons

[Top]


Switches (Checkboxes)

Switches (Checkboxes)

[Top]


Action buttons

Action buttons

[Top]

Special Thanks

This page is comprised of my own additions and either partially or heavily modified elements from the following source(s):

Test Options