← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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