← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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