HTML Living Standard (WHATWG) — Use-Case Demonstration

Date: 2026-10-25

This document demonstrates the elements the modern Living Standard adds beyond HTML5 (native dialogs, responsive/art-directed images, the search landmark, and the Web Components building blocks) in their usual use cases. Each example states whether it performs as expected in a modern browser: ✓ Yes, or ✗ No.


Use case 1 — Native dialog

Title: A dialog box  |  Date: 2026-10-25

This is a native dialog, shown because the open attribute is present.

Performs as expected: ✓ Yes — <dialog> is a modern (post-HTML5) addition.


Use case 2 — Responsive / art-directed image

Title: picture with sources  |  Date: 2026-10-25

W3C logo

Performs as expected: ✓ Yes — <picture> chooses a <source> by viewport; the <img> is the fallback.


Use case 3 — Responsive img with srcset

Title: Density/width switching  |  Date: 2026-10-25

W3C logo

Performs as expected: ✓ Yes


Use case 4 — Search landmark

Title: A search region  |  Date: 2026-10-25

Performs as expected: ✓ Yes — <search> is a recent landmark element.


Use case 5 — Web Components: template + slot

Title: Shadow-tree building blocks  |  Date: 2026-10-25

The <template> above defines inert markup; its <slot> elements are filled when a custom element instantiates it via script. (Not rendered until used.)

Performs as expected: ✓ Yes — <slot> is the Web Components placeholder (requires script to populate).


Use case 6 — Customisable select content

Title: selectedcontent  |  Date: 2026-10-25

The newest <selectedcontent> element reflects a <select>'s chosen option content in a customisable control. It is very new and not yet widely implemented.

Performs as expected: ✗ No — still limited/experimental browser support at this time; treat as progressive enhancement.


Summary: The established modern elements — dialog, picture, srcset, search, template/slot — perform as expected. The very newest addition, <selectedcontent>, does not yet, owing to limited implementation.