网站首页  汉语字词  英语词汇  考试资料  写作素材  旧版资料

请输入您要查询的范文:

 

标题 首页head区代码规范
范文
    必须加入的标签
    1.公司版权注释
    <!---thesiteisdesignedbymaketown,inc06/2000--->
    2.网页显示字符集
    简体中文:<metahttp-equiv=content-typecontent=text/html;charset=gb2312>
    繁体中文:<metahttp-equiv=content-typecontent=text/html;charset=big5>
    英语:<metahttp-equiv=content-typecontent=text/html;charset=iso-8859-1>
    3.网页制作者信息
    <metaname=authorcontent=hhlong.com>
    4.网站简介
    <metaname=descriptioncontent=xxxxxxxxxxxxxxxxxxxxxxxxxx>
    5.搜索关键字
    <metaname=keywordscontent=xxxx,xxxx,xxx,xxxxx,xxxx,>
    6.网页的css规范
    <linkhref=style/style.cssrel=stylesheettype=text/css>
    7.网页标题
    <title>xxxxxxxxxxxxxxxxxx</title>
    可以选择加入的标签
    1.设定网页的到期时间。一旦网页过期,必须到服务器上重新调阅。
    <metahttp-equiv=expirescontent=wed,26feb199708:21:57gmt>
    2.禁止浏览器从本地机的缓存中调阅页面内容。
    <metahttp-equiv=pragmacontent=no-cache>
    3.用来防止别人在框架里调用你的页面。
    <metahttp-equiv=window-targetcontent=_top>
    4.自动跳转。
    <metahttp-equiv=refreshcontent=5;url=http://www.hhlong.com>
    5指时间停留5秒。
    5.网页搜索机器人向导。用来告诉搜索机器人哪些页面需要索引,哪些页面不需要索引。
    <metaname=robotscontent=none>
    content的参数有all,none,index,noindex,follow,nofollow。默认是all。
    6.收藏夹图标
    <linkrel=shortcuticonhref=favicon.ico>
    所有的javascript的调用尽量采取外部调用。
    <scriptlanguage=javascriptsrc=script/xxxxx.js></script>
    附<body>标签:
    <body>标签不属于head区,这里强调一下,为了保证浏览器的兼容性,必须设置页面背景<bodybgcolor=#ffffff>
随便看

 

在线学习网范文大全提供好词好句、学习总结、工作总结、演讲稿等写作素材及范文模板,是学习及工作的有利工具。

 

Copyright © 2002-2024 cuapp.net All Rights Reserved
更新时间:2025/5/17 19:00:12