XHTML 1.1 Strict Starter Page


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

This is the general page template that I usually start with. It has all of the essentials (along with a favicon link - not essential).


Copy this code and paste it in your HTML
  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" version="-//W3C//DTD XHTML 1.1//EN" xml:lang="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  5. <title>untitled</title>
  6. <meta name="description" content="content" />
  7. <link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen" />
  8. <link rel="stylesheet" href="/css/print.css" type="text/css" media="print" />
  9. <link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" />
  10. </head>
  11. <body>
  12. <div id="header">
  13.  
  14. </div>
  15. <div id="nav">
  16.  
  17. </div>
  18. <div id="main">
  19.  
  20. </div>
  21. <div id="footer">
  22.  
  23. </div>
  24. </body>
  25. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.