← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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