← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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