HTML end tag issue and w3c standard

HTML end tag issue and w3c standard
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

Recommend

Detailed steps to modify MySQL stored procedures

Preface In actual development, business requireme...

How to restore a single database or table in MySQL and possible pitfalls

Preface: The most commonly used MySQL logical bac...

In-depth study of MySQL composite index

A composite index (also called a joint index) is ...

How to optimize MySQL indexes

1. How MySQL uses indexes Indexes are used to qui...

Avoid abusing this to read data in data in Vue

Table of contents Preface 1. The process of using...

Detailed explanation of the correct use of the if function in MySQL

For what I am going to write today, the program r...

Solution to slow network request in docker container

Several problems were discovered during the use o...

JavaScript implements changing the color of a web page through a slider

Hello everyone, today when I was looking at the H...

Detailed explanation of MySql installation and login

Check if MySQL is already installed in Linux sudo...

Example of using supervisor to manage nginx+tomcat containers

need: Use docker to start nginx + tomcat dual pro...

Summary of various uses of JSON.stringify

Preface Anyone who has used json should know that...

Implementation of Linux command line wildcards and escape characters

If we want to perform batch operations on a type ...

MySQL single table query example detailed explanation

1. Prepare data The following operations will be ...

Vue Element front-end application development: Use of API Store View in Vuex

Table of contents Overview 1. Separation of front...