← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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