← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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