← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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