← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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