← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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