← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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