← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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