Skip to content
KALANBLON
Show contents

Chapter 3 of 7 · 10 min

Quiz: HTML that makes sense

Semantic tags, headings, text alternatives and forms: let's check that your HTML makes sense for everyone. You need 70 % correct answers, and every answer is explained.

Quiz

5 questions · pass mark: 70%

  1. 1.Which tag holds the page's main content, once per page?

    One answer

  2. 2.Which alt attribute suits a purely decorative image (a background pattern)?

    One answer

  3. 3.What do you gain by linking a <label for> to its field's id? (several answers)

    Several answers possible

  4. 4.Complete the field type that shows a numeric keypad for a phone number, without imposing a format.

    Complete the code

    <input id="phone" name="phone" type="___">
  5. 5.Why isn't validation by the browser (required, pattern…) enough?

    One answer

Your progress is saved on this device. Create a free account to keep your progress on all your devices.