← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

HTML and CSS lesson 21: Forms and inputs · Set 859 · 40 questions
TalentJR

Code tip (Pick the right box): <form> holds <input> tags; type= picks the kind: text, password, email, number, date … Radio buttons with the same name allow only ONE choice; checkboxes allow many. type="submit" makes the send button; <label> names a box.

NameDateTime takenScore ___ / 40
  1. 1.📝 Which tag gives a form box a name you can click? (a) <label> (b) <title> (c) <h1> (d) <hr>
  2. 2.What is <input type="password"> for? (a) lets you pick only one (b) is for one line of words (c) is for an email address (d) hides what you type
  3. 3.True or false: <input type="number"> lets you pick only one. (a) True (b) False
  4. 4.📝 What does a password box show instead of letters? (a) emojis (b) numbers (c) dots (d) capital letters
  5. 5.📝 Which tag holds a whole form? (a) <table> (b) <form> (c) <input> (d) <ol>
  6. 6.What is <input type="text"> for? (a) hides what you type (b) sends the form (c) is for one line of words (d) picks a day
  7. 7.True or false: <input type="checkbox"> lets you tick many. (a) True (b) False
  8. 8.True or false: <input type="password"> lets you tick many. (a) False (b) True
  9. 9.📝 Which tag makes a big box for many lines of text? (a) <textarea> (b) <p> (c) <input> (d) <br>
  10. 10.📝 How many <input> tags are in this form?
    <form>
      <input type="date">
      <input type="checkbox">
      <input type="text">
      <input type="submit" value="Send">
    </form>
  11. 11.📝 Which input type hides what you type? (a) password (b) date (c) email (d) radio
  12. 12.📝 Which input type lets you tick many? (a) radio (b) password (c) text (d) checkbox
  13. 13.📝 At most, how many of these can be chosen at the same time?
    <form>
      <input type="checkbox" name="colour"> Orange
      <input type="checkbox" name="colour"> Red
      <input type="checkbox" name="colour"> Blue
      <input type="checkbox" name="colour"> Green
      <input type="checkbox" name="colour"> Pink
    </form>
  14. 14.True or false: <input type="checkbox"> hides what you type. (a) True (b) False
  15. 15.📝 How many <input> tags are in this form?
    <form>
      <input type="number">
      <input type="email">
      <input type="submit" value="Send">
    </form>
  16. 16.📝 At most, how many of these can be chosen at the same time?
    <form>
      <input type="radio" name="fruit"> Papaya
      <input type="radio" name="fruit"> Litchi
      <input type="radio" name="fruit"> Guava
    </form>
  17. 17.📝 Which input type sends the form? (a) radio (b) text (c) submit (d) checkbox
  18. 18.What is <input type="email"> for? (a) is for an email address (b) picks a day (c) lets you tick many (d) sends the form
  19. 19.What is <input type="radio"> for? (a) lets you tick many (b) lets you pick only one (c) picks a day (d) takes only numbers
  20. 20.📝 At most, how many of these can be chosen at the same time?
    <form>
      <input type="radio" name="colour"> Blue
      <input type="radio" name="colour"> Green
      <input type="radio" name="colour"> Red
      <input type="radio" name="colour"> Orange
    </form>
  21. 21.📝 How many <input> tags are in this form?
    <form>
      <input type="number">
      <input type="date">
      <input type="checkbox">
      <input type="password">
      <input type="text">
      <input type="submit" value="Send">
    </form>
  22. 22.📝 At most, how many of these can be chosen at the same time?
    <form>
      <input type="radio" name="fruit"> Litchi
      <input type="radio" name="fruit"> Banana
      <input type="radio" name="fruit"> Papaya
      <input type="radio" name="fruit"> Guava
    </form>
  23. 23.📝 Which input type takes only numbers? (a) number (b) checkbox (c) password (d) text
  24. 24.True or false: <input type="email"> hides what you type. (a) True (b) False
  25. 25.True or false: <input type="password"> hides what you type. (a) False (b) True
  26. 26.True or false: <input type="date"> hides what you type. (a) True (b) False
  27. 27.True or false: <input type="submit"> sends the form. (a) True (b) False
  28. 28.📝 How many <input> tags are in this form?
    <form>
      <input type="email">
      <input type="password">
      <input type="number">
      <input type="text">
      <input type="submit" value="Send">
    </form>
  29. 29.📝 At most, how many of these can be chosen at the same time?
    <form>
      <input type="checkbox" name="colour"> Green
      <input type="checkbox" name="colour"> Orange
      <input type="checkbox" name="colour"> Red
      <input type="checkbox" name="colour"> Pink
      <input type="checkbox" name="colour"> Blue
    </form>
  30. 30.📝 Which input type is for one line of words? (a) radio (b) password (c) number (d) text
  31. 31.True or false: <input type="submit"> is for an email address. (a) False (b) True
  32. 32.True or false: <input type="text"> hides what you type. (a) True (b) False
  33. 33.📝 How many <input> tags are in this form?
    <form>
      <input type="text">
      <input type="number">
      <input type="date">
      <input type="password">
      <input type="email">
      <input type="submit" value="Send">
    </form>
  34. 34.📝 At most, how many of these can be chosen at the same time?
    <form>
      <input type="checkbox" name="colour"> Green
      <input type="checkbox" name="colour"> Pink
      <input type="checkbox" name="colour"> Orange
    </form>
  35. 35.📝 How many <input> tags are in this form?
    <form>
      <input type="text">
      <input type="email">
      <input type="password">
      <input type="submit" value="Send">
    </form>
  36. 36.What is <input type="number"> for? (a) picks a day (b) takes only numbers (c) lets you tick many (d) lets you pick only one
  37. 37.What is <input type="checkbox"> for? (a) lets you tick many (b) hides what you type (c) is for one line of words (d) lets you pick only one
  38. 38.📝 How many <input> tags are in this form?
    <form>
      <input type="email">
      <input type="text">
      <input type="submit" value="Send">
    </form>
  39. 39.📝 How many <input> tags are in this form?
    <form>
      <input type="text">
      <input type="email">
      <input type="date">
      <input type="checkbox">
      <input type="password">
      <input type="submit" value="Send">
    </form>
  40. 40.📝 How many <input> tags are in this form?
    <form>
      <input type="email">
      <input type="password">
      <input type="number">
      <input type="date">
      <input type="submit" value="Send">
    </form>

Answer key

  1. <label>
  2. hides what you type
  3. False
  4. dots
  5. <form>
  6. is for one line of words
  7. True
  8. False
  9. <textarea>
  10. 4
  11. password
  12. checkbox
  13. 5
  14. False
  15. 3
  16. 1
  17. submit
  18. is for an email address
  19. lets you pick only one
  20. 1
  21. 6
  22. 1
  23. number
  24. False
  25. True
  26. False
  27. True
  28. 5
  29. 5
  30. text
  31. False
  32. False
  33. 6
  34. 3
  35. 4
  36. takes only numbers
  37. lets you tick many
  38. 3
  39. 6
  40. 5

Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids