xHTML 1.1 New Document Template


/ Published in: XHTML
Save to your folder(s)

This is a no-nonsense xHTML 1.1 template for use in a new document. The first head section has the stuff that shouldn't change from project to project. The second head section has the stuff that shouldn't change from page to page. The third has the stuff that should change on every page.

I've also added links to a print CSS file, a screen CSS file, a favicon, the Google Code jQuery file, and your own javascript file.


Copy this code and paste it in your HTML
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="content-style-type" content="text/css" />
  6. <meta name="author" content="Kerrick Design" />
  7. <meta name="generator" content="Generator? Kerrick Design hand-codes each website from scratch." />
  8.  
  9. <link rel="stylesheet" media="screen" href="css/style.css" />
  10. <link rel="stylesheet" media="print" href="css/print.css" />
  11. <link rel="shortcut icon" href="favicon.ico" />
  12. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
  13. <script type="text/javascript" src="lib/script.js"></script>
  14.  
  15. <meta name="date" content="April 11, 2009" />
  16. <meta name="keywords" content="" />
  17. <meta name="description" content="" />
  18. </head>
  19. <body>
  20.  
  21. </body>
  22. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.