Posted By

mn232nm on 11/02/08


Tagged

html


Versions (?)

xhtml template


 / Published in: HTML
 

xhtml template

  1. <!--(1)过渡型(Transitional )-->
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <!--(2)严格型(Strict )-->
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  5. <!--(3)框架型(Frameset )-->
  6. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
  7. <!--设定一个名字空间(Namespace)lang="zh-CN"/-->
  8. <html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
  9. <!--声明你的编码语言:GB2312/UTF-8/Unicode/ISO-8859-1-->
  10. <meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
  11. <meta http-equiv="Content-Language" content="zh-CN" />
  12. <!--为搜索引擎准备的内容-->
  13. <!--允许搜索机器人搜索站内所有链接。如果你想某些页面不被搜索,推荐采用robots.txt方法-->
  14. <meta content="新闻,图片" name="robots" />
  15. <!--设置站点作者信息-->
  16. <meta name="author" content="[email protected],阿捷" />
  17. <!--设置站点版权信息-->
  18. <meta name="Copyright" content="www.w3cn.org,自由版权,任意转载" />
  19. <!--站点的简要介绍(推荐)-->
  20. <meta name="description" content="新网页设计师。web标准的教程站点,推动web标准在中国的应用" />
  21. <!--站点的关键词(推荐)-->
  22. <meta content="designing, with, web, standards, xhtml, css, graphic, design, layout, usability, ccessibility, w3c, w3, w3cn, ajie"
  23. name="keywords" />
  24. <!--收藏夹小图标-->
  25. <link rel="icon" href="/favicon.ico" type="image/x-icon" />
  26. <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
  27. <title>网页标题</title>
  28. <!--连接样式表-->
  29. <link rel="stylesheet" rev="stylesheet" href="css/style.css" type="text/css" media="all" />
  30. <style type="text/css" media="all">@import url( css/style01.css );</style>
  31. <!--RSS-->
  32. <link rel="alternate" type="application/rss+xml" title="greengnn's space" href="http://www.jluvip.com/blog/feed.asp" />
  33. <!--JS-->
  34.  
  35. </head>
  36.  
  37. </body>
  38. </html>

Report this snippet  

You need to login to post a comment.