Abbreviation for HTML DOCTYPE

Time:2021-11-23

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 in the future. BTW, I want to draw inferences from one instance

Copy code

The code is as follows:

<!DOCTYPE XHTML>

, the result failed, and the page became a “hybrid mode”. If you have any other skills, please provide them.

Recommended Today

Apache sqoop

Source: dark horse big data 1.png From the standpoint of Apache, data flow can be divided into data import and export: Import: data import. RDBMS—–>Hadoop Export: data export. Hadoop—->RDBMS 1.2 sqoop installation The prerequisite for installing sqoop is that you already have a Java and Hadoop environment. Latest stable version: 1.4.6 Download the sqoop installation […]