HTML5 head
Short and sweet:
- Remember that old doctype?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" OMG this/goes //ON//FOREVER//EN>is now simply:<!DOCTYPE html> - HTML5 allows you to drop the
type="text/css"from your CSS tags:<link rel="stylesheet" href="/stylesheets/master.css"> - Same goes for the
type="text/javascript"in your script tag. The HTML5-ized version would simply be:<script src="javascripts/modernizr-1.5.min.js"></script>
All of those are good to use now, so with all the time you just saved, I think you can treat yourself to a little WHAM...
October 13 2010