====== 4.2.2. Use HTML tags for their semantic value ====== HTML tags must be used for their intended purpose, not for the visual effect they provide. For example: ^ Tags ^ Incorrect usage ^ Correct usage ^ | ''
'' | Indent text | Tag a block quote | | '''' and '''' | Display a bullet point | Tag lists | | '''' | Display a border | Group related form items | | '''' to '''' | Display larger or smaller text sizes | Define heading levels in hierarchy | ===== Related recommendations ===== * Previous recommendation: [[notices:html-css:ne-pas-utiliser-d-attributs-ou-de-balises-html-destines-exclusivement-a-la-mise-en-forme]] * Next recommendation: [[notices:html-css:utiliser-une-alternative-vide-alt-sur-les-images-decoratives-et-illustratives]]