English

Explain with the help of an example the difference between container and empty elements of HTML.

Advertisements

Question

Explain with the help of an example the difference between container and empty elements of HTML.

Answer in Brief
Advertisements

Solution

  • Container Elements:
  1. The tags which are required opening and closing is known as container elements or tags.
  2. For example: <html>, <body>, <title>, <p> etc.
  • Empty Elements:
  1. The tags which are required only opening tag is known as empty elements or tags.
  2. For example: <br>
shaalaa.com
Container and Empty Elements
  Is there an error in this question or solution?
Chapter 10: HTML - Structural Tags - Evaluation [Page 236]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 11 TN Board
Chapter 10 HTML - Structural Tags
Evaluation | Q 2. | Page 236
Advertisements
Share
Notifications



      Forgot password?
Use app×