← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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