← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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