首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java面试 >

meta http-equiv="Content-Type"该如何解决

2012-03-19 
meta http-equivContent-Typemetahttp-equiv Content-Type content text/htmlcharsetgb2312

meta http-equiv="Content-Type"
<meta   http-equiv= "Content-Type "   content= "text/html;   charset=gb2312 ">

中的meta   http-equiv是什么意思,全名是什么?

[解决办法]
Indicates the type of data sent to the browser. It is used by browsers to know what to do with the data that they receive.
标明所发给浏览器的数据的类型。浏览器以此来“知道”如何处理接收到的数据。
http://www.html-reference.com/META_httpequiv_type.htm

http-equiv = name [CI]
This attribute may be used in place of the name attribute. HTTP servers use this attribute to gather information for HTTP response message headers.
http://www.w3.org/TR/html4/struct/global.html#adef-http-equiv

热点排行