← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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