← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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