← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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