← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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