← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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