← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

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