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

React diff algorithm source code analysis

Table of contents Single Node Diff reconcileSingl...

How to skip errors in mysql master-slave replication

1. Traditional binlog master-slave replication, s...

Summary of xhtml block level tags

* address - address * blockquote - block quote * c...

Detailed explanation of Nginx's rewrite module

The rewrite module is the ngx_http_rewrite_module...

About Zabbix custom monitoring items and triggers

Table of contents 1. Monitoring port Relationship...

Front-end advanced teaching you to use javascript storage function

Table of contents Preface Background Implementati...

HTML unordered list bullet points using images CSS writing

Create an HTML page with an unordered list of at l...

Usage of Linux userdel command

1. Command Introduction The userdel (user delete)...

Detailed explanation of the use of HTML header tags

HTML consists of two parts: head and body ** The ...

MySQL slow query log configuration and usage tutorial

Preface MySQL slow query log is a function that w...

Specific method of viewing user authorization information in mysql

Specific method: 1. Open Command Prompt 2. Enter ...

Examples of correct use of maps in WeChat mini programs

Table of contents Preface 1. Preparation 2. Actua...

JavaScript Prototype Details

Table of contents 1. Overview 1.1 What is a proto...

Javascript to achieve drumming effect

This article shares the specific code of Javascri...