← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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