← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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