← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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