← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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