← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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