← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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