Home  >  Article  >  Web Front-end  >  How to solve the problem of Chinese garbled characters in HTML5 under IE10 and Firefox_html5 tutorial skills

How to solve the problem of Chinese garbled characters in HTML5 under IE10 and Firefox_html5 tutorial skills

WBOY
WBOYOriginal
2016-05-16 15:48:371679browse

I have been studying HTML5 for a few days. I have been reading the documentation without writing it. I started writing code last night and found that the Chinese characters were garbled. I thought it was not compatible with IE10, and then I switched to Firefox, but it didn’t work. Finally, after a lot of fiddling, it turned out that in When editing a web page, not only add the sentence , but also save the file as UTF-8 when saving, that's it. The code is as follows:

Copy the code
The code is as follows:





First HTML5




Is this chaos?


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn