← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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