← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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