← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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