← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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