Abbreviation of HTML DOCTYPE

Abbreviation of HTML DOCTYPE
If your DOCTYPE is as follows:

Copy code
The code is as follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

The following abbreviations can be used instead:

Copy code
The code is as follows:

<!DOCTYPE HTML>

Simple and easy to remember, so you don’t need to copy it later. BTW, I want to try it out.

Copy code
The code is as follows:

<!DOCTYPE XHTML>

, but it failed and the page became "mixed mode". If you have any other tips, please feel free to provide them.

<<:  How to draw special graphics in CSS

>>:  Delete the image operation of none in docker images

Recommend

Mysql specifies the date range extraction method

In the process of database operation, it is inevi...

jQuery realizes image highlighting

It is very common to highlight images on a page. ...

Detailed explanation of MySQL database triggers

Table of contents 1 Introduction 2 Trigger Introd...

Sharing tips on using Frameset to center the widescreen

Copy code The code is as follows: <frameset co...

How to control the proportion of Flex child elements on the main axis

background Flex layout achieves alignment and spa...

Detailed explanation of cocoscreater prefab

Table of contents Prefab How to create a prefab T...

Implementation of docker redis5.0 cluster cluster construction

System environment: Ubuntu 16.04LTS This article ...

javascript input image upload and preview, FileReader preview image

FileReader is an important API for front-end file...

Explore the truth behind the reload process in Nginx

Today's article mainly introduces the reload ...

How to change the root password in MySQL 5.7

Starting from MySQL 5.7, many security updates ha...

Complete steps to build a squid proxy server in linux

Preface This article mainly introduces the releva...

Summary of basic knowledge points of MySql database

Table of contents Basic database operations 2) Vi...