html文档头部标记

html文档头部标记

<head>头部标记</head>

<title></title>(定义网页标题,显示在浏览器的标题栏中)

<base/>(基底网址标记,用于设定浏览器中文件的绝对路径,网页中的文件只需要写相对路径就可以了)

<link>

<meat>

<meat name="" content="">

  1.keywords:网页的关键字

  2.description:网页的描述

  3.robots:(meta name="robots" content="all"),允许搜索引擎收录,

  4.author:作者

  5.copyright:版权

<meat htttp-equiv="" content="">

  1.Content-Type:(<meta http-equiv="Content-Type" content="text/html;charset=utf-8">)

  2.Refresh:(刷新)<meta http-equiv="refresh" content="3000;url=http://www.baidu.com">

  3.Expires:

  4.Windows-Target:

  5.Pragma:

  6.Page-Enter和Page-Exit:(进入页面和退出特效,现在浏览器已经不支持)

    <meta http-equiv="Page-Enter" content="revealTrans(Transition=2,Duration=1.000)">
    <meta http-equiv="Page-Exit" content="revealTrans(Transition=22,Duration=1.000)">

posted @ 2017-11-27 15:03  xsyfalcon  阅读(1110)  评论(0编辑  收藏  举报