Monday, April 14, 2008

HTML Template Starter

posted by Alex Grande
Dreamweaver, Aptana, and all the other editors have a base HTML code for the <html>, <head>, and <body>. I don't think any of these editors supply the web developer with all the need for a successful websites. I made one with comments that you can copy and paste in.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Just in case someone integrates a CMS that uses old tags like <font> or <b> -->
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <meta name="keywords" content="" /> <!-- Keywords relevent to your website or for SEO purposes go here. -->
  <meta name="description" content="" /> <!-- Sentences that describe your site and will be shown on search engines go here.  -->
  <meta name="author" content="" /> <!-- The author of the website, or webmaster's name goes here -->
  <meta name="copyright" content="Copyright © 2007 YOUR_COMPANY_HERE." /> <!-- This way you are more legally protected -->
  <meta name="robots" content="FOLLOW,INDEX" /> <!-- This makes sure search engines check out your website -->
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="styles.css" /> <!-- You'll need a stylesheet. Most people call it styles.css. Which folder it goes in is up to you -->
  <title></title>
 </head>
 <body>
 <!--[if lte IE 5]>  <!-- These are IE conditional comment style classes to fix all those dumb IE problems -->
 <div class="ie">
 <![endif]-->
 <!--[if IE 6]>
 <div class="ie ie6">
 <![endif]-->
 <!--[if IE 7]>
 <div class="ie ie7">
 <![endif]-->



 <script src="http://www.savethedevelopers.org/say.no.to.ie.6.js"></script> <!-- You'll probably need some sort of script and it should go to the bottom of the page; usually called main.js or jquery.js. This will warn your users they are using IE6. Bad user; no internet. -->
 <!--[if IE]> <!-- End of IE conditional comments -->
 </div>
 <![endif]-->  
 </body>
</html>

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home