← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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