← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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