← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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