← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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