← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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