← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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