← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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