There are some HTML tags that have no ends.
<p>The HTML tags that have no ends are called “void elements” or “self-closing tags”. These tags do not have a corresponding closing tag because they do not contain any content between an opening and closing tag.</p>
<blockquote>
<p><strong>Some common examples of void HTML tags include:</strong></p>
</blockquote>
<ul>
<li><code><img></code> : Used to embed images.</li>
<li><code><br></code> : Represents a line break.</li>
<li><code><hr></code> : Represents a horizontal rule.</li>
<li><code><input></code> : Creates input fields like text boxes, radio buttons, and checkboxes.</li>
<li><code><link></code> : Links external resources like stylesheets.</li>
<li><code><meta></code> : Provides metadata about the HTML document.</li>
</ul>
<p>Void elements are also sometimes called “singleton tags” because they can only occur once in an HTML document. For example, you can only have one <code><img></code> tag in an HTML document.</p>
<p>It is important to note that void elements are not allowed in all versions of HTML. In HTML 4.01, void elements were required to have a closing tag, even though they were not actually used. However, in HTML5, void elements are no longer required to have a closing tag.</p>
<p>If you are using a version of HTML that requires void elements to have a closing tag, you can add a forward slash (/) to the end of the opening tag to create a self-closing tag. For example, the following HTML code is valid in HTML 4.01</p>
<p><a href="https://medium.com/@brajagopal.tripathi/there-are-some-html-tags-that-have-no-ends-904aae671c21">Website</a></p>