← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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