← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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