← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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