← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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