← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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