Cbse Notes For Class 10 Foundation of Information Technology - HTML (Hypertext Markup Language)
Cbse Notes For Class 10 Foundation of Information Technology - HTML (Hypertext Markup Language)
There are two kinds of elements, i.e. Container elements and Empty elements.
Container Elements
These types of HTML elements always wrap around the text or graphics which come in
a set with an opening as well as a closing tag. In other words, HTML tags that include
both On and Off tags are known as container tags.
e.g.
<HTML>.. .</HTML>
Empty Elements
On the other hand, the empty elements are standalone tags, i.e. empty tags do not have
to be wrapped around text or graphics and do not require a closing tag.
In other words, HTML tags that include only On tag and there is no Off tag then, these
tags are known as empty tags.
e.g.