← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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