← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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