← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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