← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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