← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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