← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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