← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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