← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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