← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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