← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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