← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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