现在的位置: 首页 > 综合 > 正文

标准xhtml1.0的head[转]

2011年04月09日 ⁄ 综合 ⁄ 共 947字 ⁄ 字号 评论关闭

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"lang="gb2312">
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="gb2312" />
<meta content="all" name="robots" />
<meta name="author" content="marktip.com,侃侃" />
<meta name="Copyright" content="http://www.marktip.com/ ,自由版权,任意转载" />
<meta name="description" content="新网页设计师,web标准的教程站点,推动web标准在中国的应用." />
<meta content="web标准,教程,web, standards, xhtml, css, usability, accessibility" name="keywords" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="http://www.marktip.com/favicon.ico&qu...mage/x-icon"/>
<link rel="stylesheet" rev="stylesheet" href="test.css" type="text/css" media="all" charset="GB2312" dir="ltr" />
</head>

按行注解:
1。声明文档类型
2。定义namespace声明
5。定义语言编码
6。设置搜索机器人
7。作者
8。版权
9。网页描述
10。关键字
11、12。定义网站图标
13。外联样式表文件

抱歉!评论已关闭.