← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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