← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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