← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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