← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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