← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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