← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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