← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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