← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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