HTML Element:-

An HTML element is defined by a starting tag. If the element contains other content, it ends with a closing tag, where the element name is preceded by a forward slash.An HTML element usually consists of a start tag and an end tag.There are some HTML elements which don’t need to be closed, such as <img…/><hr /> and <br /> elements. These are known as void elements.

Nested HTML Elements:-

HTML elements can be nested (elements can contain elements).

All HTML documents consist of nested HTML elements.