← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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