← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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