← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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