zoukankan      html  css  js  c++  java
  • html meta使用详解

    META标签分两大部分:HTTP标题信息(HTTP-EQUIV)和页面描述信息(NAME)。
    -----------------------------------------------------------------

    http-equiv属性 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://www.51dog.net";> 定时让网页在指定的时间n秒内,跳转到页面http://www.51dog.net
    3、<meta
    http-equiv="Expires" contect="Mon,12 May 2001 00:20:00 GMT">
    可以用于设定网页的到期时间,一旦过期则必须到服务器上重新调用。需要注意的是必须使用GMT时间格式;
    4、<meta
    http-equiv="Pragma" contect="no-cache">
    用于设定禁止浏览器从本地机
    --------------------------------------------------
    refresh
    在计算机中表示
    刷新,更新,再生的意思
    URL=/sp/51dog.htm'
    指向你要虚拟目录SP/51dog.htm
    也可以是这样的URL=http://www.51dog.net'
    云码素材一个分享开发技术,分享精品源码素材的好平台!
  • 相关阅读:
    CF1270H
    CF1305G
    LeetCode-Sqrt(x)
    LeetCode-Plus One
    LeetCode-Integer to Roman
    LeetCode-Roman to Integer
    LeetCode-String to Integer (atoi)
    LeetCode-Reverse Integer
    C++
    LeetCode-Gray Code
  • 原文地址:https://www.cnblogs.com/3rocks/p/2040268.html
Copyright © 2011-2022 走看看