← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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