What are HTML Elements?
An HTML element consists of a start tag and end tag with the content inserted in between.
<p>My first program.</p>
<p> and</p> these are the start and end tags.
"My first program" is the content that is inserted between these 2 tags.
<h1></h1> these are tags for heading.
Empty elements do not have an end tag for example <br> element is for line break.
Nested HTML Elements
All HTML documents consist of nested HTML elements.