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

Comparison of storage engines supported by MySQL database

Table of contents Storage Engine Storage engines ...

CentOS 7 method to modify the gateway and configure the IP example

When installing the centos7 version, choose to co...

CSS3 implements the sample code of NES game console

Achieve resultsImplementation Code html <input...

MySQL FAQ series: How to avoid a sudden increase in the size of the ibdata1 file

0. Introduction What is the ibdata1 file? ibdata1...

How to find and delete duplicate records in MySQL

Hello everyone, I am Tony, a teacher who only tal...

Using MySQL in Windows: Implementing Automatic Scheduled Backups

1. Write a backup script rem auther:www.yumi-info...

Detailed introduction to MySQL database index

Table of contents Mind Map Simple understanding E...

How to implement encryption and decryption of sensitive data in MySQL database

Table of contents 1. Preparation 2. MySQL encrypt...

Document Object Model (DOM) in JavaScript

Table of contents 1. What is DOM 2. Select elemen...

Detailed explanation of psql database backup and recovery in docker

1. Postgres database backup in Docker Order: dock...

Mysql join table and id auto-increment example analysis

How to write join If you use left join, is the ta...

Examples of using provide and inject in Vue2.0/3.0

Table of contents 1. What is the use of provide/i...

Good website copywriting and good user experience

Looking at a website is actually like evaluating a...