← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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