Let's check out the self-closing elements present in Hypertext MarkUp Language (HTML).
In the previous case, the <meta>component had just a single tag and did exclude a closing tag. Fear not, this was deliberate. Not all elements comprise of opening and closing tags. A few elements essentially get their content or behavior from attributes inside a solitary tag. The <meta>element is one of these components. The content of the past <meta> element is relegated with the utilization of the charset attribute and value. Other basic self-closing elements incorporate.<br>
<meta>
<img>
<link>
These are widely used in the HTML code.
The remaining elements apart from these have both opening and closing tags. E.g.<body></body>
Here as you can see, there is a separate opening and a closing tag that form the part of syntax.