← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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