The anchor element
Create crawlable, keyboard-accessible links with meaningful destination text, valid URLs, and safe external-link behavior.
Open resourcePractical reference
Concise definitions followed by tested context, accessibility consequences, and common misuse.
Create crawlable, keyboard-accessible links with meaningful destination text, valid URLs, and safe external-link behavior.
Open resourceCollect user input with form, label, input, textarea, select, button, fieldset, and legend while preserving clear relationships.
Open resourceUse h1 through h6 to name sections and expose a logical content hierarchy instead of selecting headings by default size.
Open resourceUse the html element as the document root and declare the page language so browsers and assistive technology interpret content correctly.
Open resourceEmbed an image with a purposeful text alternative, intrinsic dimensions, responsive source behavior, and controlled loading.
Open resourceUse header, nav, main, aside, and footer to expose meaningful page regions and reserve section and article for structured content.
Open resourceRepresent unordered groups and meaningful sequences with list items that preserve count, order, and nesting relationships.
Open resourceAdd document metadata such as encoding, viewport behavior, and descriptions without treating metadata as a ranking guarantee.
Open resourceRepresent comparable data with table, caption, row groups, header cells, data cells, and explicit header relationships.
Open resource