FIND YOUR NEXT FEW LINES
The snippet library.
Small, practical examples. Search by task or narrow things down below.
5 snippets foundClear filters
Create a native disclosure
Use details and summary to show optional HTML content without JavaScript.
HTML✓ Tested
Display code as text
Escape angle brackets in preformatted HTML code samples.
HTML✓ Tested
Label a data table
Use a caption and scoped headers for an HTML data table.
HTML✓ Tested
Show a bounded measurement
Display a measured value within a known range using HTML meter.
HTML✓ Tested
Show determinate progress
Represent known completion with an HTML progress element.
HTML✓ Tested