WEB标准网页head模板

来源:互联网 发布:c语言递归求最大公约数 编辑:程序博客网 时间:2024/05/01 16:32
<!--(1)过渡型(Transitional )--> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<!--(2)严格型(Strict )--> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<!--(3)框架型(Frameset )--> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> 
<!--设定一个名字空间(Namespace)lang="zh-CN"/--> 
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN"> 
<head> 
<!--声明你的编码语言:GB2312/UTF-8/Unicode/ISO-8859-1--> 
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" /> 
<meta http-equiv="Content-Language" content="zh-CN" /> 
<!--为搜索引擎准备的内容--> 
<!--允许搜索机器人搜索站内所有链接。如果你想某些页面不被搜索,推荐采用robots.txt方法-->
<meta content="all" name="robots" /> 
<!--设置站点作者信息--> 
<meta name="author" content="邮箱,名字" /> 
<!--设置站点版权信息--> 
<meta name="Copyright" content="网站版权描述" /> 
<!--站点的简要介绍(推荐)--> 
<meta name="description" content="新网页设计师。web标准的教程站点,推动web标准在中国的应用" /> 
<!--站点的关键词(推荐)--> 
<meta content="designing, with, web, standards, xhtml, css, graphic, design, layout, usability, ccessibility, w3c, w3, w3cn, ajie" name="keywords" /> 
<!--收藏夹小图标--> 
<link rel="icon" href="/favicon.ico" type="image/x-icon" /> 
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> 
<title>网页标题</title> 
<!--连接样式表--> 
<link rel="stylesheet" rev="stylesheet" href="css/style.css" type="text/css" media="all" /> 
<style type="text/css" media="all"> 
@import url( css/style01.css );  
</style> 
<!--RSS--> 
<link rel="alternate" type="application/rss+xml" title="greengnn's space" href="http://www.*.com/feed.asp" _fcksavedurl=""http://www.*.com/feed.asp"" /> 
<!--JS--> 
<script src="js/common.js" type="text/javascript" language="javascript" "></script> 
</head> 
<body> 
</body> 
</html>