← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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