Learn to Code by Making Art
Learn programming while your create computer art by copying code from my free guide.
https://splashofcode.com

HTML 5 Template

This is a minimalist template for an HTML 5 document. I typically use this as a starting point for web based apps.

<!DOCTYPE html>
 
<head>
 
	<title>[Title]</title>
 
	<!-- Internal Javascript -->
	<script type="text/javascript">
		// Put code here or set the src attribute
	</script>
 
	<!-- External Javascript -->
	<script src="main.js"></script>
 
	<!-- Internal CSS -->
	<style type="text/css">
 
		* { box-sizing: border-box; }
		body { background-color: white; margin: 0; padding: 0; font-family: sans-serif; font-size: 12px; }
		p { margin-bottom: 10px; }
 
	</style>
 
	<!-- External CSS -->
	<link rel="stylesheet" type="text/css" href="style.css">
 
</head>
 
<body>
 
	<p>Hello World!</p>
 
</body>
 
</html>
Learn to Code by Making Art
Learn programming while your create computer art by copying code from my free guide.
https://splashofcode.com
comments powered by Disqus
html_5_template.txt · Last modified: 2014/11/20 15:23 by Joel Dare