← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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