We Recommend

HTML Dog: The Best-Practice Guide to XHTML and CSS HTML Dog: The Best-Practice Guide to XHTML and CSS
For readers who want to design Web pages that load quickly, are easy to update, accessible to all, work on all browsers and can be quickly adapted to different media, this comprehensive guide represents the best way to go about it.


Posted By

nerdfiles on 03/10/08


Tagged

php template xhtml


Versions (?)


Who likes this?

2 people have marked this snippet as a favorite

basicmagic
noah


XHTML Strict


Published in: XHTML 


  1. <!DOCTYPE html PUBLIC
  2. "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4.  
  5. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  6.  
  7. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  8. <title>New Document</title>
  9. <meta name="Author" content="#" />
  10. <meta name="Description" content="#" />
  11.  
  12. <!-- Page Resources -->
  13. <link rel="Shortcut Icon" href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/imgs/favicon.ico" type="image/x-icon" />
  14. <script type="text/javascript" src="http://<?php echo $_SERVER['HTTP_HOST']; ?>/scripts/common.js"></script>
  15. <link rel="stylesheet" href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/css/screen.css" type="text/css" media="screen" />
  16. <link rel="stylesheet" href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/css/print.css" type="text/css" media="print" />
  17. <!-- / Page Resources -->
  18.  
  19. </head>
  20. <body class="">
  21.  
  22. <div id="wrap">
  23. <div id="header">
  24. </div><!-- / header -->
  25. <div id="nav">
  26. </div><!-- / nav -->
  27. <div id="content">
  28. </div><!-- / content -->
  29. <div id="footer">
  30. </div><!-- / footer -->
  31. </div>
  32.  
  33. </body>
  34. </html>

Report this snippet 

You need to login to post a comment.