← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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