← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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