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

How to enable MySQL remote connection in Linux server

Preface Learn MySQL to reorganize previous non-MK...

How to use Vue cache function

Table of contents Cache function in vue2 Transfor...

Skin change solution based on Vue combined with ElementUI

Table of contents Written in front Solution 1: Us...

MySQL deduplication methods

MySQL deduplication methods 【Beginner】There are v...

Drop-down menu and sliding menu design examples

I found a lot of websites that use drop-down or sl...

MySQL 8.0.23 Major Updates (New Features)

Author: Guan Changlong is a DBA in the Delivery S...

Best Practices Guide for Storing Dates in MySQL

Table of contents Preface Do not use strings to s...

Summary of commonly used operators and functions in MySQL

Let’s build the data table first. use test; creat...

Javascript basics about built-in objects

Table of contents 1. Introduction to built-in obj...

Some suggestions for HTML beginners and novices, experts can ignore them

Feelings: I am a backend developer. Sometimes when...

Analysis of JavaScript's event loop mechanism

Table of contents Preface: 1. Reasons for the eve...

How to install redis5.0.3 in docker

1. Pull the official 5.0.3 image [root@localhost ...