首页 > Web开发 > 详细

HTML 笔记

时间:2015-06-28 13:57:23      阅读:165      评论:0      收藏:0      [点我收藏+]

一 、基本标记

1.设置限制搜索方式

<meta name="robots" content="ALL,Index,Nofollow,Noindex,None">
ALL 表示能搜索当前页面及其链接的页面
Index 表示能搜索当前页面
Nofollow  表示不能搜索与当前链接的页面
Noindex 表示不能搜索当前页面
None 表示不能搜索当前页面及其链接的页面

2.设置编辑工具

<meta name="Generator" content="Adobe Dreamweaver CC">  

3.设置定时跳转

<meta http-equiv="refresh" content="3;url=http://www.myhack.cc"> <!--页面将在3秒后跳转-->

4.设置网页的有效期

content的值必须是GMT格式 此处设置为2015年8月24日00点过期

<meta http-equiv="expires" content="Web,24 august 2015 00:00:00 GMT"> 

5.删除过期的cookie

content的值必须是GMT格式 此处设置为2015年8月24日00点过期

<meta http-equiv="set-cookie" content="Web,24 august 2015 00:00:00 GMT"> 

6.禁止从缓存中调用

<meta http-equiv="cache-control" content="no-cache"> 
<meta http-equiv="pragma" content="no-cache"> 

7.强制打开新窗口

<meta http-equiv="windows-target" content="_top"> <!--页面将在新窗口打开-->

8.设置网页的过渡效果

<meta http-equiv="page-enter" content="revalltrans(duration=3,transition=21)"> 

http-equiv 过渡事件

duration    过渡持续时间

transition  过渡方式

 

二 、文本内容 

 未完待续

 

HTML 笔记

原文:http://www.cnblogs.com/crafts/p/4605399.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!