← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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