← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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