← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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