← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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