XHTML Template

Date Published:
Last updated:

Back

Copy and paste (or save the page linked in Further Reading) a barebones XHTML template page. EOM.

XHTML Skeleton Template

Note: I tend to store style sheets in a directory called css and JavaScripts in js; you may differ.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
  <title></title>
  <!--  META TAGS  -->
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Language" content="en-GB" />
  <meta name="keywords" content="" />
  <meta name="description" content="" />
  <meta name="author" content="" />
  <meta name="copyright" content="" />
  <!-- FAVICON -->
  <link rel="Shortcut Icon" type="image/ico" href="/favicon.ico" />
  <!-- CSS -->
  <link rel="stylesheet" type="text/css" media="screen" href="css/.css" />
  <!-- SCRIPTS -->
  <script type="text/javascript" src="js/.js"></script>
</head>
<body>
</body>
</html>

Further reading and sources