← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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