← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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