← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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