← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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