11
正确使用WEB标准建立html文档基本模板如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="gb2312">
<head>
<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="网站作者,可以添加网址或者邮箱" />
<meta name="Copyright" content="网站地址,版权说明" />
<meta name="description" content="网站性质描述" />
<meta name="keywords"content="关键字列表,用逗号分割" />
<link rel="icon" href="ico图片文件url" mce_href="ico图片文件url" type="image/x-icon" />
<link rel="shortcut icon" href="ico图片文件url" mce_href="ico图片文件url" type="image/x-icon" />
<link rel="stylesheet" rev="stylesheet" href="css文件url" mce_href="css文件url" type="text/css" media="all" />
<title>模板</title>
</head>
<body>
</body>
</html>
上面的关键点有下面几个方面: 阅读全文>>