← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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