← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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