← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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