← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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