Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Self Closing Elements In HTML

Let's check out the self-closing elements present in Hypertext MarkUp Language (HTML).

In the previous case, the 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 element is one of these components. The content of the past element is relegated with the utilization of the charset attribute and value. Other basic self-closing elements incorporate.

There are a few more which you can check out.

These are widely used in the HTML code.

The remaining elements apart from these have both opening and closing tags. E.g.
Here as you can see, there is a separate opening and a closing tag that form the part of syntax.


This post first appeared on How To Create A Basic HTML Template ?, please read the originial post: here

Share the post

Self Closing Elements In HTML

×

Subscribe to How To Create A Basic Html Template ?

Get updates delivered right to your inbox!

Thank you for your subscription

×