← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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