惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
雷峰网
雷峰网
J
Java Code Geeks
G
Google Developers Blog
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
L
LangChain Blog
人人都是产品经理
人人都是产品经理
GbyAI
GbyAI
Vercel News
Vercel News
S
SegmentFault 最新的问题
Engineering at Meta
Engineering at Meta
H
Hackread – Cybersecurity News, Data Breaches, AI and More
云风的 BLOG
云风的 BLOG
F
Fortinet All Blogs
Y
Y Combinator Blog
博客园_首页
Last Week in AI
Last Week in AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
A
About on SuperTechFans
B
Blog
Microsoft Security Blog
Microsoft Security Blog

博客园 - ;姚元培

C#企业级开发案例精解:用经典案例学通 NET技术 NHibernate HibernateTemplate 和Session的区别 HQL中的Like查询需要注意的地方 C# WinForm控件美化扩展系列之TabControl控件(3)-完整版 应用程序权限设计 asp.net MVC 显示数据库中的html 代码 ASP.NET MVC2 使用绑定时 等号和冒号的差别 spring.net asp.net mvc 验证 asp.net防止页面刷新或后退引起重复提交 截获系统注销时候的消息 WeifenLuo.WinFormsUI.DockContent 使用 c# listview 房间列表 百度搜索 asp后台批处理 asp.net数据显示 完善网站程序 脚本攻击防范策略完全篇 asp获取客户端ip 弹出窗口代码 asp sql语句 javascript with 和 prototype属性 .NET设计模式系列文章 关于rs.bof 和 rs.eof onbeforeunload与onunload事件 使用distinct在mysql中查询多条不重复记录值的解决办法 HTML特殊字符显示 屏幕捕捉 和批量重名命 html文件 后缀 js dom JavaScrip高级应用:操作模态与非模态对话框 vb常用
http-equiv属性
;姚元培 · 2011-12-16 · via 博客园 - ;姚元培

http://x.discuz.net/355247/viewspace-7070.html

1、<meta http-equiv= "Content-Type"contect="text/html";
charset=gb_2312-80">和 <meta http-equiv="Content-Language" contect="zh-
CN">用以说明主页制作所使用的文字以及语言;又如英文是ISO-8859-1字符集,还
有BIG5、utf-8、shift-Jis、Euc、Koi8-2等字符集;


2、<meta http-equiv="Refresh" content="n; url=   http://yourlink";;>
   定时让网页在指定的时间n秒内,跳转到页面http://yourlink
<http://yourlink/>;


3、<meta http-equiv="Expires" contect="Mon,12 May 2001 00:20:00 GMT">可
以用于设定网页的到期时间,一旦过期则必须到服务器上重新调用。需要注意的是
必须使用GMT时间格式;


4、<meta http-equiv="Pragma" contect="no-cache">是用于设定禁止浏览器从本
地机的缓存中调阅页面内容,设定后一旦离开网页就无法从Cache中再调出;


5、<meta http-equiv="set-cookie" contect="Mon,12 May 2004 00:20:00
GMT">cookie设定,如果网页过期,存盘的cookie将被删除。需要注意的也是必须
使用GMT时间格式;


6、<meta http-equiv="Pics-label" contect="">网页等级评定,在IE的internet
选项中有一项内容设置,可以防止浏览一些受限制的网站,而网站的限制级别就是
通过meta属性来设置的;


7、<meta http-equiv="windows-Target" contect="_top">强制页面在当前窗口中
以独立页面显示,可以防止自己的网页被别人当作一个frame页调用;