← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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