← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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