← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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