← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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