An HTML element starts with open tag and ends with a closing tag, where the element name is preceded by a forward slash. Some HTML elements do not have an end tag.
Here is some HTML element example <p>….</p>, <h1>…</h1>, start with open tag and close with closing tag. Some HTML elements which don’t need to be closing tag, such as <img…/>, <hr /> and <br /> elements.
<h1>This is heading with open and closing tags</h1>
<p>This is paragraph with open and closing tags </p>
<br> This is line break tag which don’t need to be closing tag