Home > Web Front-end > H5 Tutorial > body text

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

WBOY
Release: 2016-05-16 15:48:37
Original
1702 people have browsed it

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?


Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!