-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (32 loc) · 803 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Pong</title>
<style type="text/css">
html {
margin: 0;
padding: 0;
height: 100%;
}
#container {
width:800px;
height: 600px;
margin-left: -400px;
margin-top: -300px;
position: absolute;
left: 50%;
top: 50%;
}
</style>
</head>
<body id="main">
<div id="container">
<canvas id="canvas" width="800" height="600">
Your Browser doesn't support HTML5 canvas.
</canvas>
</div>
<script type="text/javascript" src="js/pong.js"></script>
</body>
</html>