← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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