HTML Essentials

Lesson 05 · 13 min

Forms and fields

A field without a label is a trap. A button without a type is a surprise.

13 minLesson 5 of 8Practice includedAsk AI on any point

A form collects data and sends it. Even if JavaScript later intercepts the submit, the markup has to work on its own: labels are tied to fields, required fields are visible, a button does what it says.

Sign in to continue

The rest of this lesson opens after sign up

The first lesson of every course is open without an account. To read on, solve the practice and use Ask, create a free account or log in.