← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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