Posted By

chrisdpratt on 09/11/09


Tagged

template xhtml strict jquery skeleton


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

leaase
robertvs


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. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" 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="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js" type="text/javascript"></script>
  14. <![endif]-->
  15. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
  16. </head>
  17. <body id="" class="">
  18. <h1>PageTitle</h1>
  19.  
  20. </body>
  21. </html>

Report this snippet  

You need to login to post a comment.