← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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