← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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