← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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