当前位置: 代码迷 >> Java面试 >> meta http-equiv="Content-Type"该如何解决
  详细解决方案

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

热度:233   发布时间:2016-04-17 20:40:51.0
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
  相关解决方案