HTML Elements

by Yogesh Khanna 14-Feb-17

0 683


An HTML element is specified by a start tag. If the element comprises the other content, it closes with an end tag, where the element name is defined by a forward slash, you can see below the tags:

<p> </p> => This is paragraph content.

<h1> </h1> => This is heading content.

<div> </div> => This is division content.

So, the above HTML elements have end tags, but, there are a few HTML elements which don't require to be closed, such as <img.../>, <hr /> and <br /> elements.

These are called as void elements.


Share:

Comments

    No Comments Yet.

Leave a Reply