← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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