Explain with the help of an example the difference between container and empty elements of HTML.
Advertisements
प्रश्न
Explain with the help of an example the difference between container and empty elements of HTML.
संक्षेप में उत्तर
Advertisements
उत्तर
- Container Elements:
- The tags which are required opening and closing is known as container elements or tags.
- For example: <html>, <body>, <title>, <p> etc.
- Empty Elements:
- The tags which are required only opening tag is known as empty elements or tags.
- For example: <br>
shaalaa.com
Container and Empty Elements
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
