← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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