← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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