← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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