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

neogeek on 07/09/06


Tagged

template standard


Versions (?)


Who likes this?

5 people have marked this snippet as a favorite

designerd
postNuKe
arturo
lhplam
fukami


XHTML 1.1 Strict Template


Published in: HTML 


A basic XHTML 1.1 Strict template with CSS cross-browser fixes already in place.

  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" xml:lang="en">
  3. <title>Untitled Document</title>
  4. <style type="text/css">
  5.  
  6. /* Cross-Browser Fixes */
  7.  
  8. * {
  9. margin: 0px;
  10. padding: 0px;
  11. clear: both;
  12. }
  13.  
  14. </style>
  15. </head>
  16.  
  17.  
  18. <div id="container">
  19.  
  20.  
  21. </div>
  22.  
  23. </body>
  24. </html>

Report this snippet 

You need to login to post a comment.