← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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