Quiz

Form labels and validation knowledge check

Check labels, submission keys, boolean constraints, and the limits of browser validation.

Beginner2 min readLearn · Practice · Review

Published by HTML Code Runner · AI-assisted material · Independent editorial review pending · Editorial policy

On this page

What you will practice

Check labels, submission keys, boolean constraints, and the limits of browser validation.

Complete the related lessons first, then answer without looking at their code. All questions can be attempted again. These questions test interpretation of markup rather than typing speed. A perfect score here does not establish that a complete website is accessible or secure.

Instructions

Choose one answer per question, or enter the exact requested name for a blank. Use Check answers to reveal feedback. Read each explanation even if your answer was correct: the reason is more transferable than memorizing an option number. Scores remain in this browser when local storage is available.

This is browser-side practice. Answers are available in the page source; scores are not a certification.

1. Which attribute connects a label to the matching input ID?


2. What does required="false" do on an email input?


3. Does type="email" verify that a mailbox exists?

4. Which statement about client-side validation is correct?


Apply what you learned

Return to your own HTML file and identify one example of each concept in these questions. If a concept is missing, add a small meaningful example and inspect the parsed document. Use the keyboard to check interactive controls. Browser-side answer matching is a study aid and does not validate arbitrary code.

Related lessons

Document structure · Forms · Tables