← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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