← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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