← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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