← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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