Standalone HTML5 demo

Comprehensive HTML5 Tag Demonstration

This page is a single-file demo showing a broad set of standard HTML5 tags, grouped from text-oriented elements through layout, structure, media, data, and form elements.

It uses simple dark-mode CSS so the focus stays on the HTML tags and their capabilities.

1. Text-based elements

Headings, paragraphs, inline emphasis, edits, code, quotations, and text variations.

Heading levels

H1 Heading Example

H2 Heading Example

H3 Heading Example

H4 Heading Example

H5 Heading Example
H6 Heading Example

Paragraph and inline text

This is a semantic paragraph strong emphasis, underline, small text, highlighted text that is really long and wraps, struck-through text, inserted text and deleted text.

This is css strong emphasis, underline, small text, highlighted text that is really long and wraps, struck-through text.

Chemical formula: H2O. Mathematical notation: x2 + y2. Abbreviation: HTML.

Example of cited work, defined term, and inline quoted text.

Code and technical text

Use <section> for thematic grouping.

Press Ctrl + S to save.

Program output can use Build completed successfully.

Variable example: userName.

  <button type="button">
    Click
  </button>
  <input type="text" placeholder="Name" />
            

Block quotation and line breaks

HTML provides structure, semantics, and built-in interactive controls without requiring JavaScript for basic capability.

This paragraph includes a manual line break.
The next line appears below because of the <br> element.


The horizontal rule above is rendered with the <hr> element.

Default Browser Font Families

sans-serif
strong italic strong-italic
SPACING

serif
strong italic strong-italic
SPACING

monospace
strong italic strong-italic
SPACING

cursive
strong italic strong-italic
SPACING

fantasy
strong italic strong-italic
SPACING

system-ui
strong italic strong-italic
SPACING

2. List elements

Unordered, ordered, nested, description, and task-style lists.

Unordered list

  • UL Standard
  • LI Offset
  • LI Rotate
  • Color
  • Square
  • Marker
  • Circle
  • Markers

Unordered list 3D

  • Ul Standard
  • LI Offset
  • LI Rotate
  • Color
  • Square
  • Marker
  • Circle
  • Markers

Ordered list

  1. Remember the sun
  2. Before you awake
  1. Remember all the reasons
  2. And bake it into your cake

Nested lists

  • Text elements
    • Paragraphs
    • Inline semantics
  • Structure
    • Section
    • Article
    • Aside

Description list

HTML
The markup language used to structure web content.
CSS
The language used for presentation and styling.
JS
The language used to add behavior and interactivity.

3. Grouping and content containers

Examples of article, aside, div, figure, details, and content grouping patterns.

<article> example

Reusable content unit

An <article> can represent a blog post, forum entry, news item, or self-contained card.

<figure> and <figcaption>

Figure captions describe or label visual content.

<details> and <summary>

Open disclosure widget

The <details> element provides built-in expandable content, while <summary> defines the visible heading.

4. Semantic layout elements

Header, nav, main, section, article, aside, footer, and address.

Sample semantic document fragment

This nested example demonstrates common page regions.

Section

A section groups related content under a shared theme or heading.

Article

An article can stand on its own outside the page context.

Footer areas often contain metadata, navigation, and supporting information.

Demo Author
Semantic Street
Web City, HTML 5000

5. Interactive and state-related elements

Buttons, progress, meter, dialog-like note, and time/status examples.

Buttons

Time and status

Published on .

Status: Online, Pending, Offline

Progress

68%

The progress element represents task advancement.

Meter

72%

The meter element represents a scalar measurement within a range.

6. Media-related elements

Image, picture, audio, video, and source track structures.

Image

Inline SVG image placeholder

<img> with alt text. SVG src

Picture element

Picture element fallback example

The <picture> element can swap image sources by media conditions.

SVG

<SVG> examples


<SVG> depth and lit


<SVG> variable depth, lit

Audio

Audio controls are shown.

Video

Video supports muted autoplay, loop, posters, mobile playsinline

7. Table and data elements

Table, caption, thead, tbody, tfoot, colgroup, and data-oriented inline tags.

Feature support summary table
Element Category Example capability
<input> Form Text, email, date, range, color, file, and many other built-in control types.
<details> Interactive Native collapsible disclosure without JavaScript.
<picture> Media Responsive image source selection using media queries.
This table demonstrates multiple table sub-elements working together.

A machine-readable value can be wrapped with <data>: Product SKU 1007.

A bidirectional isolation example with مرحبا inside mixed-direction text.

8. Form elements

A broad demo of native HTML form controls and attribute variations.

Textual inputs
Numeric and date inputs
Pickers and selection
Checks, radios, textarea, and output

Example output: 42

Buttons

9. Embedded and miscellaneous elements

Examples of iframe, object, and inline helpers that broaden HTML capability.

IFrame

Object

Other useful tags

Span is an inline generic container. 漢 kan 字 ji can provide pronunciation support in languages that use ruby annotations.

Use this text is forced right-to-left with the <bdo> element.

You can also create anchor targets such as Back to top.