← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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