← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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