← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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