Courses / HTML
Free Beginner Web Development

HTML & Web Foundations

Learn how websites are structured from the ground up using HTML. Build real pages while learning elements, attributes, links, images, forms, tables, semantic HTML and more.

24
Lessons
4 Weeks
Duration
79%
Progress

Lesson 20 of 24

15 min learning time

Accessibility Basics

Accessible websites

Accessible HTML helps more people use websites, including people using screen readers, keyboards and other assistive technologies.

Good practices

Use meaningful headings, labels, alt text, buttons and semantic elements.

Example HTML
<label for="email">
    Email Address
</label>

<input
    type="email"
    id="email"
    name="email"
    aria-describedby="email-help"
>

<p id="email-help">
    Enter an active email address.
</p>

Practical Exercise

Build it yourself

Improve a simple form by adding proper labels and useful alternative text.

Quick Check

Test your understanding

Why is alt text important?