← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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