← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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