← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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