← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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