← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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