← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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