← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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