← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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