← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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