← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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