← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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