Back to HTML

HTML Tutorial

Accessibility

Write HTML that works for more users and assistive technologies.

Accessible HTML starts with semantic elements, labels, alt text, headings, and keyboard-friendly controls.

The goal is to make content understandable and usable for everyone.

code
<label for="name">Name</label>
<input id="name" name="name" />
<img src="chart.png" alt="Monthly sales chart" />