← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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