The end tag of HTML and W3C standard


According to the principle of W3C, each start tag of XML must have an end tag corresponding to it, that is, < HTML > must have a < / HTML > end, which is a complete element, unless it is a self closing tag, which is a tag such as < img SRC = “…” / > etc.
Html is a child of XML, so we should also follow the principles of XML, which is the standard.
Therefore, < meta charset = UTF-8 > does not add / > to finish, does not meet the standard, only suitable for the version before HTML 4.0. At present, most websites use XHTML standard writing method for SEO and multi browser support.