← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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