← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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