There are some HTML tags that have no ends.

<p>The HTML tags that have no ends are called &ldquo;void elements&rdquo; or &ldquo;self-closing tags&rdquo;. 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>&lt;img&gt;</code>&nbsp;: Used to embed images.</li> <li><code>&lt;br&gt;</code>&nbsp;: Represents a line break.</li> <li><code>&lt;hr&gt;</code>&nbsp;: Represents a horizontal rule.</li> <li><code>&lt;input&gt;</code>&nbsp;: Creates input fields like text boxes, radio buttons, and checkboxes.</li> <li><code>&lt;link&gt;</code>&nbsp;: Links external resources like stylesheets.</li> <li><code>&lt;meta&gt;</code>&nbsp;: Provides metadata about the HTML document.</li> </ul> <p>Void elements are also sometimes called &ldquo;singleton tags&rdquo; because they can only occur once in an HTML document. For example, you can only have one&nbsp;<code>&lt;img&gt;</code>&nbsp;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>
Tags: HTML web