← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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