← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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