← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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