← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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