什么是使用<meta http-equiv =“content-type”content =“text / html; charset = UTF-8”/>

时间:2017-04-28 13:46:01

标签: html html5 character-encoding content-type meta

在头部使用以下古代元标记是否仍然是必要/有益的,还是已经过时了?这句话的目的是什么,删除它是否安全?

<meta http-equiv="content-type" content="text/html; charset=UTF-8">

我的.htaccess文件中已经有AddDefaultCharset UTF-8; <!doctype html>位于我的网页顶部,header('Content-type: text/html; charset=utf-8');位于我的php生成的html网页[index.php]

我需要为IE9 +,FireFox20 +,Edge,Chrome,Safari等主要浏览器提供完整的移动/桌面覆盖,适用于PC mac linux android和iphone上的浏览器,最多5年,今天和未来。感谢

0 个答案:

没有答案
相关问题