← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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