XHTML 1.0 Transitional Template


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

A basic XHTML 1.0 Transitional template with CSS cross-browser fixes already in place.


Copy this code and paste it in your HTML
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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. * { margin: 0px; padding: 0px; }
  9.  
  10. br, div, p { clear: both; }
  11.  
  12. img { border-style: none; }
  13.  
  14. </head>
  15.  
  16.  
  17. <div id="container">
  18.  
  19.  
  20. </div>
  21.  
  22. </body>
  23. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.