← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

  1. False
  2. submit
  3. True
  4. radio
  5. 5
  6. 3
  7. <form>
  8. <textarea>
  9. 3
  10. 4
  11. 3
  12. number
  13. 1
  14. 4
  15. 6
  16. False
  17. 4
  18. False
  19. False
  20. date
  21. email
  22. 4
  23. 3
  24. True
  25. True
  26. 3
  27. False
  28. 3
  29. checkbox
  30. <select>
  31. dots
  32. False
  33. True
  34. text
  35. 6
  36. <label>
  37. True
  38. hides what you type
  39. 4
  40. 4

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