← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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