← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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