← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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