← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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