← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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