← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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