/ Published in: HTML
There are a lot of 'starters' out there but I wanted one with all the things I use to start a new project. I find it easier to remove lines I don't need than to hunt and peck for each item...this also makes the starter serve as a sort of 'checklist' to make sure all the essentials are there for a stand-alone page, great for quickly creating a robust 'coming soon' page for a new website.
* Basic XHTML
* Common includes: CSS, JQuery, RSS, Favicon
* Google analytic tracking code
I refrained from including paths so that mistakes aren't easily overlooked. Use search & replace to quickly change SITENAME and don't forget you need your own GA tracker code.
* Basic XHTML
* Common includes: CSS, JQuery, RSS, Favicon
* Google analytic tracking code
I refrained from including paths so that mistakes aren't easily overlooked. Use search & replace to quickly change SITENAME and don't forget you need your own GA tracker code.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" /> <meta name="robots" content="index, follow" /> <meta name="description" content="" /> <meta name="keywords" content="" /> <link rel="icon" type="image/x-icon" href="/favicon.ico" /> <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" /> <link rel="stylesheet" href="" media="screen,projection" type="text/css" /> <link rel="stylesheet" href="" media="print" type="text/css" /> <link rel="alternate" type="application/rss+xml" title="SITENAME Updates" href="" /> <script type="text/javascript" charset="utf-8"> $(function(){ }); </script> </head> <body> <div id="wrapper"> </div> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("YOUR-UA-GOES-HERE"); pageTracker._trackPageview(); } catch(err) {}</script> </body> </html>
URL: http://23rdworld.com/templates/xhtml1_strict.html