← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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