← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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