|
楼主 |
发表于 2006 年 1 月 9 日 19:46:33
|
显示全部楼层
符合web标准的网站首页头内容
// DOCTYPE声明。DOCTYPE是document type(文档类型)的简写,用来说明你用的XHTML或者HTML是什么版本。<BR>//过渡的(Transitional),严格的(Strict),框架的(Frameset)<BR><SPAN style="COLOR: red"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<A href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target=_blank>http://www.w3.or ... itional.dtd</A>"></SPAN><BR>//"xmlns"是XHTML namespace的缩写,叫做"名字空间"声明<BR><SPAN style="COLOR: red"><html xmlns="<A href="http://www.w3.org/1999/xhtml" target=_blank>http://www.w3.org/1999/xhtml</A>" lang="gb2312"> </SPAN><BR><SPAN style="COLOR: red"><head></SPAN>//定义你的语言编码<BR><SPAN style="COLOR: red"><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /></SPAN>//head区调用样式<BR><SPAN style="COLOR: red"><link rel="stylesheet" rev="stylesheet" href="css/style.css" type="text/css" media="all" /></SPAN><BR>//收藏夹小图标,ico文件放在根目录<BR><SPAN style="COLOR: red"><link rel="icon" href="/favicon.ico" type="image/x-icon" /><BR><link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /></SPAN><BR>//为搜索引擎准备的内容<BR><SPAN style="COLOR: red"><meta content="all" name="robots" /> </SPAN><BR>//允许搜索机器人搜索站内所有链接,CONTENT的参数有all,none,index,noindex,follow,nofollow。默认是all。<BR><BR><SPAN style="COLOR: red"><meta name="author" content="zcyzcy@gmail.com,<A href="http://www.vxii.com/blog" target=_blank>ad<A href="http://www.vxii.com/blog" target=_blank>rian</A></A>" /></SPAN> //设置站点作者信息<BR><SPAN style="COLOR: red"><meta name="Copyright" content="<A href="http://www.vxii.com/blog" target=_blank>ad<A href="http://www.vxii.com/blog" target=_blank>rian</A></A>.goofar.com,自由版权,任意转载" /></SPAN> //设置站点版权信息<BR><SPAN style="COLOR: red"><meta name="description" content="个人BLOG,日记,网页设计" /> </SPAN>//站点的简要介绍(推荐)<BR><BR><SPAN style="COLOR: red"><meta content="designing, with, web, standards, xhtml, css, graphic, design" name="keywords" /></SPAN> //站点的关键词(推荐)<BR><SPAN style="COLOR: red"><title><A href="http://www.vxii.com/blog" target=_blank>ad<A href="http://www.vxii.com/blog" target=_blank>rian</A></A>'s blog</title><BR></head><BR><body></body><BR></html></SPAN> |
|