← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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