← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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