Skip to main content
PProfileMatch
← Path

HTML Fundamentals · HTML Forms and Built-In Validation Without JavaScript

0 XP
  1. 1 current stop: learning
  2. 2 upcoming
  3. 3 upcoming
  4. 4 upcoming
  5. 5 upcoming

Finish after stop 5

Stop 1 of 5 · Ticket office window

Trick to keep in mind+3 XP

No name, no show: a form control only travels if it has a name.

When a form is submitted, the browser builds pairs of control name and value. A control with no name has no key to send under, so it silently stays out, however nicely it displays. id and label do a different job: they tie the control to its label so clicking the text focuses the field.

Read it once, then a question tests whether the trick stuck.