HTML Element Showcase 🧪


Introduction

This page is a comprehensive demonstration of every HTML element supported by modern web browsers. It serves as a visual reference and testbed.


Content Sectioning & Text

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

This is a standard paragraph <p>. It can contain various inline elements. For instance, you can have <strong> (important) text, <em> (emphasized) text, <b> (bolded, no extra importance) text, or <i> (italicized, alternate voice) text. Use <u> (unarticulated annotation) for things like spelling errors, or <s> (strikethrough) for inaccurate content. <small> text is for side comments.

This is a blockquote, often used for long citations.

— A knowledgeable source

A short inline quotation uses the q element.

The HTML element (HyperText Markup Language) is the standard markup language for creating web pages. The <dfn> tag is used to indicate the defining instance of a term.

You can use the HTML tag. The <abbr> tag is for abbreviations.

Written by A.I.
Visit us at: example.com
Duxbury, VT
    This text preserves spaces
    and line breaks. It's ideal
    for displaying code blocks.
            

Lists

Unordered List <ul>

Ordered List <ol>

  1. First item
  2. Second item

Menu List <menu>

  • Menu Item A
  • Menu Item B
  • Description List <dl>

    Term 1
    Description for Term 1.
    Term 2
    Description for Term 2.

    Other Text Elements

    Use mark to highlight text. Code can be represented with <code>. Keyboard input with Ctrl + S. Sample output with File not found. And variables with x = y + 2.

    H2O (using <sub>) and E=MC2 (using <sup>).

    The current date is .

    This word is spelled עִבְרִית correctly. The <bdi> tag isolates text that might be formatted in a different direction. Contrast with this text which forces right-to-left direction.

    The tomato element links content with a machine-readable translation.

    This line includes a
    line break.

    This line includes a potential line break opportunity here:supercalifragilisticexpialidocious.

    æ¼¢ ( Kan ) å­— ( ji )
    A generic <div> container, often used for styling purposes with a generic <span> inside.


    Forms

    Personal Information
    Choices

    Select an option:

    Check all that apply:

    Advanced Inputs & Ranges
    Meters and Progress 2 out of 10
    60%
    70%
    Form Output

    The sum is: 30


    Image and Multimedia

    Images

    A placeholder image
    A <figcaption> for the image above.
    Left Half Right Half

    Picture Element

    A responsive image

    Audio

    Video

    Embedded Content


    SVG and MathML

    Embedded SVG

    Embedded MathML

    The quadratic formula is:

    x = − b ± b 2 − 4 a c 2 a

    Table Content

    Monthly Savings
    Month Savings Notes
    January $100 Good start
    February $80
    Total Savings $180

    Interactive Elements & Web Components

    Details & Summary

    Click to see details

    Here is some hidden information that is now revealed. The <details> and <summary> elements create a disclosure widget.

    Dialog

    This is a dialog window.

    Canvas

    Template & Slot (Web Components)

    The content below is not visible on the page, but can be used by JavaScript to instantiate new elements.



    HTML Elements Collection

    Text Elements

    I am paragraph

    I am h1

    I am h2

    I am h3

    I am h4

    I am h5
    I am h6
    I am span
    I am div
    I am blockquote
    I am pre-formatted text
    I am code I am emphasized I am strong I am marked/highlighted I am small text I am deleted text I am inserted text I am subscript I am superscript I am abbr I am citation I am inline quotation I am keyboard input I am sample output I am variable

    Form Elements



    I am checkbox
    I am radio button



    I am legend inside fieldset Option 1
    Option 2

    I am output
    70%
    70%

    List Elements

    1. I am list item in ordered list
    2. Another ordered list item
    I am definition term
    I am definition description
    I am menu item

    Table Elements

    I am caption
    I am table header Header 2
    I am table data Data 2
    I am table footer

    Media & Embedded Elements

    I am image


    Small placeholder
    I am figcaption in figure

    I am object I am area I am canvas I am SVG Picture element

    Semantic Elements

    I am article
    I am summary (click me) I am details content that appears when summary is clicked.
    I am footer
    I am header
    I am main
    I am section
    I am address
    I am dialog

    Interactive & Linking Elements

    I am link
    I am definition
    I am bidirectional override (right to left)
    I am bidirectional isolate
    æ¼¢ han (han)
    I am word break opportunityatthispoint
    I am slot (used in web components)

    Other Elements



    I am data