Empty HTML Elements —
Are HTML elements with no content.
<p>This is a <br> paragraph with a line break.</p>
Do not have an end tag, such as the <br> element.
Can be closed" in the opening tag like this.
HTML5 does not require empty elements to be closed.
But if you want stricter validation, or if you need to make your document readable by XML parsers, you must close all HTML elements properly.