← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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