← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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