← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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