First what is an html? Html stands for hypertext markup language is the standard markup language for documents designed to be displayed in a web browser. but we are going talk about html element

What is html element

The HTML element is everything from the start tag to the end tag.

Example of html element

<h1>My First Heading</h1>

<p>My first paragraph.</p>

In html Some HTML elements have no content (like the <br> element). These elements are called empty elements. Empty elements do not have an end tag!

Types of html element

Nested HTML Elements

HTML elements can be nested (this means that elements can contain other elements).





<h1> my first heading</h1>

<p> this is a paragraph</p>