When writing HTML code, the first line should be DOCTYPE, but DOCTYPE is usually very long and people are too lazy to remember it, so they basically just copy what they have written before. But today I learned an abbreviation for DOCTYPE. If your DOCTYPE is as follows. When writing HTML code, the first line should be DOCTYPE, but DOCTYPE is usually very long and people are too lazy to remember it, so they basically just copy what they have written before. But today I learned an abbreviation for DOCTYPE. If your DOCTYPE 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: <!DOCTYPE HTML> Simple and easy to remember, so you don’t need to copy it later. BTW, I wanted to learn from this and try <!DOCTYPE XHTML> , but it failed and the page became "mixed mode". If you have any other tips, please feel free to share them. |
<<: Implementation of mounting NFS shared directory in Docker container
>>: MySQL high concurrency method to generate unique order number
Find the problem Today at work, when copying tabl...
We often need to summarize data without actually ...
Table of contents 1. jsonp cross-domain 2. docume...
Table of contents 1. What is copy_{to,from}_user(...
Often when building a SPA, you will need to prote...
Table of contents 1. Prototype Relationship 2. Pr...
What is a table? Table is an Html table, a carrie...
Table of contents Review of Object.defineProperty...
1. First, double-click the vmware icon on the com...
How to obtain SQL statements with performance iss...
Method 1: Use CSS overflow omission to solve The ...
Table of contents 1. Check the MySQL status in th...
1. Install SVN server yum install subversion 2. C...
Failure Scenario When calling JDBC to insert emoj...
The final result is like this, isn’t it cute… PS:...