-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtable.html
More file actions
105 lines (99 loc) · 1.74 KB
/
table.html
File metadata and controls
105 lines (99 loc) · 1.74 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!doctype html>
<html lang= "ko">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="./css/mycss.css" type="text/css">
<style type="text/css">
table#tab1{
border : 2px solid blue;
margin : 50px;
}
td{
text-align : center;
font-size : 2.0em;
}
#tab1 td{ /* 가로는 td에서 키운다*/
width : 200px;
height : 50px;
text-align : center;
font-size : 2.0em; /* pt, % ,em : 배수 */
}
#tab2{
border : 5px double green;
margin : 50px;
}
#tab2 td{
width : 150px;
heigth : 40px;
text-align : center;
font-size : 1.5em;
}
</style>
</head>
<body>
<pre>
table#tab1{
border : 2px solid blue;
margin : 50px;
}
td{
text-align : center;
font-size : 2.0em;
}
#tab1 td{ /* 가로는 td에서 키운다*/
width : 200px;
height : 50px;
text-align : center;
font-size : 2.0em; /* pt, % ,em : 배수 */
}
</pre>
<!-- 같은 칸으로 줘야한다 -->
<table id="tab1" border= "1"> <!--1만쓰라고 광고하고있다.-->
<tr>
<td><em>1</em></td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</table>
<pre>
#tab2{
border : 5px double green;
margin : 50px;
}
#tab2 td{
width : 150px;
heigth : 40px;
text-align : center;
font-size : 1.5em;
}
</pre>
<table id="tab2" border= "1"> <!--1만쓰라고 광고하고있다.-->
<tr>
<td><em>1</em></td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</table>
</body>
</html>