通过明确声明字符编码,能够确保浏览器快速并容易的判断页面内容的渲染方式。这样做的好处是,可以避免在 HTML 中使用字符实体标记(character entity),从而全部与文档编码一致(一般采用 UTF-8 编码)。

  <meta charset="utf-8">

3 thoughts on “HTML设计规范(4)字符编码”

  • Do you mind if I quote a few of your posts as long as I provide credit and sources back to your website? My blog is in the exact same niche as yours and my visitors would genuinely benefit from some of the information you provide here. Please let me know if this ok with you. Thank you!


邮箱地址不会被公开。 必填项已用*标注

4 ÷ 1 =