← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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