← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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