← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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