← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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