← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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