← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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