← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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