← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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