Below is the standard HTML5 template I start most of my projects with. It includes the latest 1.x version of jQuery, jQuery UI, and the desired jQuery UI theme. It also has a conditional comment that checks to see if the current browser older than IE9 and includes HTML5Shiv to make sure new elements are rendered properly in older IE browsers.
While I don’t claim this is the best skeleton HTML5 template, I think it is a very solid foundation to start from 😉
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Untitled</title> <meta name="keywords" content=""> <meta name="description" content=""> <script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script> <link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1/themes/ui-lightness/jquery-ui.css"> <!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> <script> $(function() { Â Â Â //DOM is Ready }); </script> </head> <body> </body> </html>