← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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