DOCTYPE is to tell the browser's HTML to resolve the instructions. It must be in the first line. DTD needs to be introduced in some versions. HTML5 does not need to be introduced to DTD.
Chinese garbled reasonThe encoding format of the browser analysis code is inconsistent with the source code encoding format. For example, but the document is saved as GBK, there will be garbled
SolutionIn which format is used to analyze, use the encoding format to save the code.
The above talk about HTML DOCTYPE and encoding are all the contents of the editors shared with you. I hope to give you a reference, and I hope that everyone will support VEVB Wulin.com.