← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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