← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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