← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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