← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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