← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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