← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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