HTML5 Doctype Template

February 10, 2010 | Filed Under Resources by Robert

It is finally time to start switching to HTML5 for projects moving forward. If you’ve been following the progress you already know that xHTML will eventually be outdated and browsers will, eventually, support HTML 5 functionality. So it doesn’t make sense to continue with xHTML; plus, now our clients to use HTML5 functionality as it becomes available without too many headaches.

Below basic doctype template I’m starting out with, please feel free to give me feedback.

<!DOCTYPE html>
<html>
<head>
  <title></title>
  <meta name="description" content="" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
  <link rel="stylesheet" href="style.css" />
  <script src="js/jquery.min.js"></script>
  <!--[if lt IE 8]>
  <![endif]-->
</head>
<body>
</body>
</html>

Note: I included a holder for JQuery and and IE specific stylesheet (just in case). These can obviously be removed if they’re not needed for the project.

Bookmark and Share

One Response to “HTML5 Doctype Template”

  1. February 16th, 2010
    Matt Pramschufer Says:

    Awesome! Bout time you switched it up.


Leave a Reply