← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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