← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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