← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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