← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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