← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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