← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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