← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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