← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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