← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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