← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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