Solutions to Chinese Garbled text in IE10 and Firefox

Source: Internet
Author: User

Comments: When I wrote the HTML5 code, I found that Chinese characters were garbled. I thought it was not compatible with IE10, and I switched it to Firefox. No one knows. After repeated research and testing, I found a good solution, if you have similar situations, you can refer to HTML5 for a few days. You have been reading the document and haven't written it. You wrote the code last night and found that Chinese characters are garbled, I thought it was not compatible with IE10 and then switched to Firefox. But no one knows. I finally had a hard time. When I was editing a webpage, not only add the <meta charset = "UTF-8"> sentence, the file in the save, but also to save as a UTF-8, you can. The Code is as follows:

The Code is as follows:
<! Doctype html>
<Html>
<Meta charset = "UTF-8">
<Head>
<Title> first HTML5 </title>
</Head>
<Body>

<Video width = "320" height = "240" controls = "controls">
<Source src = "/I/movie.ogg" type = "video/ogg">
<Source src = "/I/movie.mp4" type = "video/mp4">
Your browser does not support the video tag.
</Video>
Is this a mess?
</Body>
</Html>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.