FIND YOUR NEXT FEW LINES
The snippet library.
Small, practical examples. Search by task or narrow things down below.
5 snippets foundClear filters
Link to a page section
Use a fragment link to target an HTML section on the same page.
HTML✓ Tested
Mark up a machine-readable date
Pair a readable date with an ISO datetime attribute in HTML.
HTML✓ Tested
Name an icon button
Give a button containing only a symbol an accessible name.
HTML✓ Tested
Open a link in a separate tab
Declare a separate browsing context with an explicit noopener relationship.
HTML✓ Tested
Provide a skip link
Let keyboard users jump directly to focusable main content.
HTML✓ Tested