← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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