← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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