← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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