← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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