← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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