← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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