← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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