XHTML 1.0 Strict Doctype Basic Template


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

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


Copy this code and paste it in your HTML
  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. <head>
  6. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  7. <meta name="keywords" content="" />
  8. <meta name="description" content="" />
  9. <title>Title Here</title>
  10.  
  11. <!-- CSS Links -->
  12. <link rel="stylesheet" href="basic.css" type="text/css" media="screen" />
  13. <link rel="alternate stylesheet" type="text/css" href="alternative.css" title="alternative" />
  14.  
  15. <!-- Scripts Here -->
  16. <script src="../js/script1.js" type="text/javascript"></script>
  17. <script src="../js/script2.js" type="text/javascript"></script>
  18.  
  19. </head>
  20.  
  21.  
  22. </body>
  23. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.