← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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