← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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