← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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