← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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