← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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