1.HTML elements can be nested (elements can contain elements).
2.All HTML documents consist of nested HTML elements.
So ,This example contains four HTML elements:
2.All HTML documents consist of nested HTML elements.
So ,This example contains four HTML elements:
Example
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>