• HTML 笔记


    一 、基本标记

    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  过渡方式

    二 、文本内容 

     未完待续

  • 相关阅读:
    Java学习8.31
    Java学习8.30
    Java学习8.29
    Java学习8.28
    Java学习8.27
    Java学习8.26
    242. Valid Anagram 有效的字符串
    680. Valid Palindrome II 对称字符串-可删一个字母版本
    151. Reverse Words in a String翻转一句话中的单词
    155. Min Stack 155.最小栈
  • 原文地址:https://www.cnblogs.com/crafts/p/4605399.html
Copyright © 2020-2023  润新知