← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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