← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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