-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdboperator_c.html
More file actions
44 lines (39 loc) · 1.24 KB
/
Copy pathdboperator_c.html
File metadata and controls
44 lines (39 loc) · 1.24 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script>
/*
var num1 = 10;
var num2 = 3;
num1 += num2;
document.write(num1, "<br>");
num1 -= num2;
document.write(num1, "<br>");
num1 *= num2;
document.write(num1, "<br>");
num1 %= num2;
document.write(num1, "<br>");
*/
var str = "<table border ='30' backgroundcolor = 'blue'>"; //table boder = 테두리 두께
str += "<tr>"; //row <tr></tr>
str += "<td>1</td><td>2</td><td>3</td><td>0</td>"; //column <td></td>
str += "</tr>";
str += "<tr>"; //row <tr></tr>
str += "<td>4</td><td>5</td><td>6</td><td>0</td>"; //column <td></td>
str += "</tr>";
str += "<tr>"; //row <tr></tr>
str += "<td>7</td><td>8</td><td>9</td><td>0</td>"; //column <td></td>
str += "</tr>";
str += "<tr>"; //row <tr></tr>
str += "<td>7</td><td>8</td><td>9</td><td>0</td>"; //column <td></td>
str += "</tr>";
str += "</table>";
document.write(str);
</script>
</body>
</html>