← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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