← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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