← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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