XHTML 1.1 Template

This is a minimalist template for an XHTML 1.1 document. I use this as a starting point for many of my own web projects that are started from scratch.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 
<head>
 
	<title>[Title]</title>
 
	<!-- Meta Tags -->
	<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
	<meta name="robots" content="index, follow" />
	<meta name="description" content="A blank XHTML 1.1 document template." />
	<meta name="keywords" content="html,xhtml,template" />
	<meta name="author" content="Joel Dare" />
 
 
	<!-- JavaScript : Embedded -->
	<script type="text/javascript">
	<!--
		// On document load
		document.onload = setTimeout("rollUp();", 100);
 
		// Roll the URL up
		function rollUp() {
			window.scrollTo(0, 1);
		}
	//-->
	</script>
 
	<!-- CSS -->
	<style type="text/css">
	<!--
 
		body { background-color: white; margin: 0; padding: 0; font-family: sans-serif; font-size: 12px; }
		p { margin-bottom: 10px; }
 
	-->
	</style>
 
</head>
 
<body>
 
	<p>Hello World!</p>
 
</body>
 
</html>
comments powered by Disqus
xhtml_1.1_template.txt · Last modified: 2020/06/01 22:53 (external edit)