We Recommend

HTML: The Definitive Guide HTML: The Definitive Guide
They teach you that learning HTML is like learning any other language and that reading a book of rules can only take you so far. Readers begin writing what may be their first Web page just two pages into the book's second chapter. From there on, they provide a wide range of HTML coding to allow readers to learn from good examples. The book includes a handy "cheat sheet" of HTML codes for quick reference.


Posted By

1man on 07/08/06


Tagged

template xhtml strict doctype


Versions (?)


Who likes this?

6 people have marked this snippet as a favorite

arturo
j4k
kyokutyo
mountchuck
fukami
angstmann


XHTML 1.0 Strict Doctype Basic Template


Published in: HTML 


Just a simple template for the XHTML 1.0 Strict doctype. Updated with slight fix involving the meta tags.

  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  6. <meta name="keywords" content="" />
  7. <meta name="description" content="" />
  8. <title>Title Here</title>
  9.  
  10. <!-- CSS Links -->
  11. <link rel="stylesheet" href="basic.css" type="text/css" media="screen" />
  12. <link rel="alternate stylesheet" type="text/css" href="alternative.css" title="alternative" />
  13.  
  14. <!-- Scripts Here -->
  15. <script src="../js/script1.js" type="text/javascript"></script>
  16. <script src="../js/script2.js" type="text/javascript"></script>
  17.  
  18. </head>
  19.  
  20.  
  21. </body>
  22. </html>

Report this snippet 

You need to login to post a comment.