← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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