← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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