← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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