← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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