← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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