← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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