← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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