HTML ELEMENTS

HTML document consist of HTML elements .HTML ELEMENT is a combination of starting tag and end tag.A start tag  <tag> marking the beginning if an element, which may contain any number of attributes.Some amount of content ,including text,and other elements.The end tag ,in which the name is prefixed with slash  </tag>

<p> This is an element </p>

The above line is an example for element.It contains opening tag, content and closing tag.

EMPTY ELEMENTS

An element without closing tag is Empty Element.It does not have any contents.<br>
is  an example for empty element.Empty element can be closed in the opening tag like this <br/>.

HTML tags are not case sensitive <P>    same as <p>

0 Comment "HTML ELEMENTS"