← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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