← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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