* 테이블 : <table border="0" width="가로길이" height="세로길이" align="위치">

border="1" or "0" : 1은 테두리 표시

 : 0은 테두리 표시하지 않음을 뜻한다


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
<html>
<head></head>
<body>
  <table border="0" width="100%" height="500" align="center">
    <tr height="50">
      <th width="20%">1줄</th>
      <th>2줄</th>
      <th>3줄</th>
    </tr>
    <tr>
      <td>1줄,1행</td>
      <td>
        <table border="1" width="100%" height="200" align="center">
            <tr height="50">
                <th>1줄</th>
                <th>2줄</th>
                <th>3줄</th>
            </tr>
            <tr>
                <td>1줄,1행</td>
                <td>2줄,1행</td>
                <td>3줄,1행</td>
            </tr>
            <tr>
                <td>1줄,2행</td>
                <td>2줄,2행</td>
                <td>3줄,2행</td>
            </tr>
        </table>
      </td>
      <td>3줄,1행</td>
    </tr>
    <tr>
      <td>1줄,2행</td>
      <td>2줄,2행</td>
      <td>3줄,2행</td>
    </tr>
  </table>
</body>
</html>
cs



+ Recent posts