← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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