Home > Web Front-end > HTML Tutorial > HTML end tag issues and w3c standards_HTML/Xhtml_Web page production

HTML end tag issues and w3c standards_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:37:08
Original
1405 people have browsed it

According to the principles of w3c, each start tag of xml must have a corresponding end tag, that is, must end with to be a complete element, unless it is a self-closing tag, self-closing It’s a tag like HTML end tag issues and w3c standards_HTML/Xhtml_Web page production.
html is a child of xml, so it must also follow the principles of xml. This is the standard.
So, does not add/> to end, it does not meet the standards and is only suitable for versions before HTML 4.0. Currently, most websites use the xhtml standard writing method for SEO and multi-browser support.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template