Posted By

chrisdpratt on 09/11/09


template xhtml strict jquery skeleton

Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


XHTML 1.0 Strict Template Skeleton with jQuery and Dean Edwards' IE7-js

 / Published in: XHTML

jQuery is included via the Google AJAX Libraries repository. Dean Edwards' IE7-js is included via it's Google Code hosting URL. Version numbers of both libraries should be checked and updated to latest versions.

Note: While libraries can be referenced from the Google AJAX Libraries repository with abbreviated version numbers (specifying just '1', instead of '1.3.2', for example), it's always better to include the full version number. Otherwise, Google will not sent appropriate cache and expires headers.

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "">
  3. <html xmlns="" xml:lang="en" lang="en">
  4. <title>PageTitle</title>
  5. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  6. <meta http-equiv="Content-Style-Type" content="text/css" />
  7. <meta http-equiv="Content-Script-Type" content="text/javascript" />
  8. <meta name="description" content="" />
  9. <link rel="stylesheet" href="screen.css" type="text/css" media="screen,projection,tv" />
  10. <link rel="stylesheet" href="print.css" type="text/css" media="print" />
  11. <!--[if lt IE 7]>
  12. <link rel="stylesheet" href="ie6.css" type="text/css" media="screen,projection,tv" />
  13. <script src="" type="text/javascript"></script>
  14. <![endif]-->
  15. <script src="" type="text/javascript"></script>
  16. </head>
  17. <body id="" class="">
  18. <h1>PageTitle</h1>
  20. </body>
  21. </html>

Report this snippet  

You need to login to post a comment.