The lexicon
HTML
Structure the content. Give every element a purpose.
- HTML · Guide
Your first HTML documentGive the browser a clear document, from the doctype to the closing tag.
- HTML · Guide
Headings & paragraphsBuild a readable outline instead of choosing tags by their default size.
- HTML · Guide
Links & file pathsUnderstand where a link goes, and why one missing slash matters.
- HTML · Guide
Images & alternative textMake an image useful even when it cannot be seen.
- HTML · Guide
Lists that mean somethingChoose ordered, unordered and description lists for different relationships.
- HTML · Guide
Semantic page landmarksGive navigation, main content and supporting information a clear role.
- HTML · Guide
Forms & labelsConnect every input to a name people can see and use.
- HTML · Guide
Details & summaryCreate a disclosure without building your own interaction from scratch.
- HTML · Guide
Buttons act. Links navigate.Choose the element that matches the reader’s intention.
- HTML · Guide
Responsive images: size is a decisionSeparate layout size, file choice and meaningful alternative text.
- HTML · Guide
Form validation that helps people recoverExplain the problem, keep the entry and point to a useful next action.