← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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