← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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