← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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