← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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