This page is now totally useless! Go check the HTML5 Boilerplate, instead!
How many times have you needed to start a new HTML page from scratch and, for the love of God, you couldn't remember every meta tag, every link tag, every standard script that you know you have to include in all pages? Even now, with the easier, shorter HTML5 syntax you always need to go find an existing page and copy them. Well, now you don't need to do that any more. And if you don't know or care for HTML5 (even though you should) it doesn't matter, this baby works everywhere.
Just copy this text (or the portions you need) and paste it at the top of the new empty page.
<!DOCTYPE html> <html lang="en"> <head> <title></title> <meta charset="utf-8"> <meta name="description" content=""> <meta name="robots" content="all"> <link rel="stylesheet" href=""> <link rel="canonical" href=""> <link rel="alternate" type="application/rss+xml" title="" href=""> <!--[if lte IE 6]> <link rel="stylesheet" href=""> <![endif]--> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> </body> </html>
A few notes about the code.
langattribute is actually ignored by Google. I like using it, though. Of course you can change
ento whatever language you need.
robotsmeta tag is completely useless, since
index, follow, it's the same) is what happens when you don't use it, but if you need to use
nofollowthat's where you have to write them.
canonicalmeta tag is useful if you have more than one url pointing to the same page.
alternatemeta tag. (It has other uses too, but maybe this is the most common.)
[if lte IE 6]is for that.
[if lt IE 9].
Wanna know more about these topics? Here are a few useful links:
And some useful HTML5 resources:
PS: The color scheme used in the code is, of course, Zenburn.