← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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