← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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