← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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