← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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