← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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