← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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