← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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