← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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