← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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