← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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