← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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