← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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