← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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