← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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