← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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