← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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