← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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