← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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