← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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