-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathttt.html
56 lines (45 loc) · 1.41 KB
/
ttt.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<html>
<head>
<link href="ttt.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="header"></div>
<div id="h_line">
<canvas id="diagonal2" > </canvas>
<canvas id="vertical1" > </canvas>
<canvas id="vertical2" > </canvas>
<canvas id="vertical3" > </canvas>
<canvas id="diagonal1" > </canvas>
<canvas id="horizontal1" > </canvas>
<canvas id="horizontal2" > </canvas>
<canvas id="horizontal3" > </canvas>
<script src="ttt.js" type="text/javascript"></script>
<table cellpadding="20px" >
<tr>
<td id="one" onclick="func(this)" contentEditable = "true">
</td>
<td id="two" onclick="func(this)" contentEditable = "true">
</td>
<td id="three" onclick="func(this)" contentEditable = "true">
</td>
</tr>
<tr>
<td id="four" onclick="func(this)" contentEditable = "true">
</td>
<td id="five" onclick="func(this)" contentEditable = "true">
</td>
<td id="six" onclick="func(this)" contentEditable = "true">
</td>
</tr>
<tr>
<td id="seven" onclick="func(this)" contentEditable = "true">
</td>
<td id="eigth" onclick="func(this)" contentEditable = "true">
</td>
<td id="nine"onclick="func(this)" contentEditable = "true">
</td>
</tr>
</table>
</div>
</body>
</html>