← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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