← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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