← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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