← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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