← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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