← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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