← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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