Friday, 20 September 2013

Quick HTML Template

This is the template that I can copy-paste whenever I need some simple HTML page. You are free to use it for yourself.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title></title>

<!-- <link rel="stylesheet" type="text/css" href="" /> -->
<!--<script type="text/javascript" src=""></script>-->
<link rel="stylesheet" type="text/css" href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables.css">
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script type="text/javascript" charset="utf8" src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js"></script>

<style type="text/css">
body { background-color: #adadad; font-size:8pt; }
</style>
<script type="text/javascript">
//<![CDATA[

//]]>
</script>
</head>

<body>

<div id="main"></div>

<canvas id="myCanvas" width="200" height="100" style="border:1px solid #000000;">
</canvas>

<script type="text/javascript">
//<![CDATA[

$(document).ready(function(){
});

/* for handling canvas events, if needed */
$(window).load(function(){
});

//]]>
</script>
</body>

</html>

No comments:

Post a Comment