← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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