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
Table of contents Single Node Diff reconcileSingl...
1. Traditional binlog master-slave replication, s...
* address - address * blockquote - block quote * c...
The rewrite module is the ngx_http_rewrite_module...
Table of contents 1. Monitoring port Relationship...
Table of contents Preface Background Implementati...
Create an HTML page with an unordered list of at l...
1. Command Introduction The userdel (user delete)...
HTML consists of two parts: head and body ** The ...
Preface MySQL slow query log is a function that w...
Specific method: 1. Open Command Prompt 2. Enter ...
Table of contents Preface 1. Preparation 2. Actua...
Table of contents 1. Overview 1.1 What is a proto...
This article shares the specific code of Javascri...
The questions encountered in Baidu interviews nee...