← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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