← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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