← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

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