← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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