According to the principles of W3C, each start tag of XML must have a corresponding end tag, that is, <html> must end with </html> to be a complete element, unless it is a self-closed tag, which is a tag such as <img src="... " />. HTML is a child of XML, so it must also follow the principles of XML. This is the standard. Therefore, if <meta charset=UTF-8> is not ended with />, it does not meet the standard 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. |
<<: impress.js presentation layer framework (demonstration tool) - first experience
>>: A brief discussion on JavaScript scope
Preface Learn MySQL to reorganize previous non-MK...
Table of contents Cache function in vue2 Transfor...
The company had a well-configured server that was...
Table of contents Written in front Solution 1: Us...
MySQL deduplication methods 【Beginner】There are v...
I found a lot of websites that use drop-down or sl...
Author: Guan Changlong is a DBA in the Delivery S...
Table of contents Preface Do not use strings to s...
Recently, Microsoft released the 2019 server syst...
I recently used the ssm framework when doing a pr...
Let’s build the data table first. use test; creat...
Table of contents 1. Introduction to built-in obj...
Feelings: I am a backend developer. Sometimes when...
Table of contents Preface: 1. Reasons for the eve...
1. Pull the official 5.0.3 image [root@localhost ...