← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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