html - Is there a name for a tag that closes itself? -


Tags-based language such as HTML or XML contains tags that close themselves without the use of other tags:

  & lt; Tag / & gt;   

Instead of:

  & lt; Tag & gt; & Lt; / Tag & gt;   

Is there a specific name for the tag that closes itself?

Thank you!

refers to them as empty element tags Definition: An element with no content is said to be empty.] The representation of an empty element is either an initial tag that can be immediately an end tag, or an empty element tag. [Definition: An empty-element tag takes special form:]

Comments