HTML Elements

An HTML file is made of many several elements. These elements are responsible for creating web pages and defining content on that webpage. These elements have a start tag <tag Name> and an ending tag</tag Name>.

For example,

<p> An example for Html element. </p>

Some elements do not have both starting and ending tag such as,

<br>

Nested Elements

In Html, many elements can be nested inside other elements. For example,
<!Doctype html>
<html>
    <body>
        <p> Hello User. </p>
    </body>
</html>

Here <body> tag is nested inside <html> tag and <p> tag is nested inside <body> tag.

Empty Tags

There are some Empty tags also for which the ending tag is not required and there is no content in them. For example,

<br> tag – It defines a line break.

Html is not Case sensitive,
It will not create a problem if the case of Html tag is changed.
<p> Hello.</p>
<P> Hello.</p>