← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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