← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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