Html head

<head>

  <title>  

   1.只存在一个  显示在浏览器的标题栏上

   2.有利于搜索引擎找到对应的页面

   3.

 

  

  </title>  

  <base  href="http://www.baidu.com">  这是文件中的所有基址 如果有引入../src/logo.gif 则最终显示的将会是

  "http://www.baidu.com/src/logo.gif"

  <link rel="stylesheet" type="text/css" href="test.css">

  <link rel="stylesheet" type="text/css" href="./css/test.css">  

 

  <meta name="" content="">

     用于在网页中加入一些关于网页的描述信息,网页的关键字,网页描述信息

  <meta name="keywords" content="php ,linux, web,.net" 

   关键字的描述,可以被搜索引擎收录

  <meta name="description" content="当前页的中心思想" >

  <meta name="robots" content="index">可以加入搜索引擎的数据库

  <meta name="robots" content="noindex">不允许搜索引擎搜索

  <meta name="robots" content="follow">  可以通过我的网页去爬别人的网站

  <meta name="robots" content="none"> 不允许收录

  <meta name="copyrights" content="Author">版权的问题

  <meta name="http-equiv" content="">

    用于HTTP协议的相应的消息头,例如告诉浏览器是否缓存页面,字符集,或者各多少时间自动刷新网页

<meta http-equiv="Content-Type"  content="text/html;charset=gb2312  ">

 告诉浏览器的字符集

<meta http-equiv="refresh" content="3">每隔3秒自动刷新

<meta http-equiv="refresh" content="3;url=http://www.baidu.com">

三秒后自动转到baidu

<meta http-equiv="Windows-Target" content="_top">被别的分帧加载的时候,会以整个页面显示

 

  

 

 

 

 

 

  

 

 

 

</head>

posted @ 2012-08-02 14:27  Epirus  阅读(207)  评论(0编辑  收藏  举报