← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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