← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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