← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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