← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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