← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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