← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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