HTML Tutorial · Page Structure · Lesson 18 of 34
HTML Entities and Accessibility
Reserved characters, symbols, and the accessibility basics every page needs.
Character entities
Some characters are reserved in HTML. Write them as entities:
| Character | Entity |
|---|---|
< |
< |
> |
> |
& |
& |
" |
" |
| non-breaking space | |
| © | © |
With <meta charset="utf-8">, you can type most other symbols (é, €, →, emoji) directly.
<p>Use <p> for paragraphs & <h1> for the main heading.</p>
<p>© 2026 ReadyCamel · Prices from €9 → see plans</p>
<p>10 km stays on one line.</p>
<button aria-label="Close dialog">✕</button>
Accessibility checklist
- Use semantic elements and a logical heading order.
- Give images meaningful
alttext. - Label every form control.
- Make everything usable with the keyboard; use real
<button>s and<a>s, not clickable<div>s. - Ensure enough colour contrast.
- Set
langon<html>. - Use ARIA attributes (
aria-label,aria-expanded…) only when no native element does the job.
Test yourself
How do you display a literal < character in HTML?
\<<&less;<<
Show answer
Answer: <