HTML总结.docVIP

  • 5
  • 0
  • 约7.29千字
  • 约 7页
  • 2017-08-14 发布于河南
  • 举报
一、head/head篇 1.meta元素:用于指定有关这个文档的相关信息。 http-equiv属性 规则:meta http-equiv= content= 用法1:meta http-equiv=Content-Type content=text/html; charset=GB18030 ormeta http-equiv=Content-Language content=zh-CN 作用1:设定页面所使用的字符集。 用法2:meta http-equiv=Pragma content=no-cache 作用2:设定禁止浏览器从本地机的缓存中调阅页面内容,即无法实现脱机 用法3meta http-equiv=Refresh content=8; url= 作用3:让当前网页在指定时间内调转到指定的网页,时间单位(秒) 用法4:meta http-equiv=Expires content=Wed, 12 May 2008 12:00:00 GMT 作用4:用于指定网页的到期时间,一旦到期就要重新到服务器上调阅,时间格式必须是以GMT格式设定 用法5:meta http-equiv=Set-Cookie content=Wed, 12 May 2008 12:00:00 GMT 作用5:如果网页过期,则删除cookie中保存的网页信息,时间必须是GMT

文档评论(0)

1亿VIP精品文档

相关文档