← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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