← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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