← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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