DOCTYPE Doctype is used to tell the browser which version of HTML to use to parse the instructions. It must be on the first line. In some versions, DTD needs to be introduced. HTML5 does not need to introduce DTD. Chinese garbled characters reason The encoding format of the code parsed by the browser is inconsistent with the source code encoding format. For example, if the document is saved as GBK, garbled characters will appear. Solution The code is saved in the same encoding format as the one used to parse it. The above brief discussion on HTML doctype and encoding is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. |
<<: CSS3 filter code to achieve gray or black mode on web pages
>>: Common writing examples for MySQL and Oracle batch insert SQL
Document Scope This article covers mode switching...
The concept of lock ①. Lock, in real life, is a t...
I'm building Nginx recently, but I can't ...
Solve the problem of Chinese garbled characters i...
Mac comes with Apache environment Open Terminal a...
Table of contents 1. Change the 2375 port of Dock...
Preface Docker can configure environment variable...
mysql between boundary range The range of between...
Online shopping mall database-product category da...
1. Preparation 1.1 harbor download harbor downloa...
1. Single table query -> update UPDATE table_n...
Report an error The Apache\Nginx service started ...
Table of contents Installing the SDK Managing loc...
The document has been written for a while, but I ...
Two methods to implement Mysql remote connection ...