← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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