← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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