← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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