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

drewrockshard on 06/29/06


Tagged

template dtd start beginning original default


Versions (?)


Who likes this?

10 people have marked this snippet as a favorite

jamesmcoats
shaktimaan
mhinze
codesmith
fayans
hyperspace
fael
robotoverlord
hans
titox


Start Code


Published in: HTML 


Default XHTML start code for designing a layout or template for your website. Great for working on several clients/projects and do not want to retype this code over and over again.

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  2.  
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="author" content="name" />
  6. <meta name="publisher" content="name" />
  7. <meta name="distribution" content="global" />
  8. <meta name="language" content="en-us" />
  9. <meta name="revisit-after" content="5 days" />
  10. <title>Website Page Title Here</title>
  11. <style type="text/css" media="screen">
  12. @import url( style.css );
  13. </style>
  14. <script type="text/javascript" src="functions.js"></script>
  15. <link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" />
  16. </head> <!-- close head -->
  17.  
  18. </body> <!-- close body -->
  19. </html> <!-- close html -->

Report this snippet 

You need to login to post a comment.