← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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