← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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