table tag

테이블 예제

<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>이 력 서</title>
    <style>
        table,th,td{
            border: 2px solid black; 
            border-collapse: collapse;           
        }
        th,td{
            padding: 5px;
        }
    </style>
</head>
<body>
    <h1 align="center">이력서</h1>
    <table align="center" width="600">
        <tr align="center">
            <td rowspan="4" width="100">(사진)</td>
            <th rowspan="2" width="80">성명</th>
            <th width="60">한글</th>
            <td width="140"></td>
            <th width="80">생년월일</th>
            <td width="140">   년   월   일</td>
        </tr>
        <tr align="center">
            <th>영문</th>
            <td></td>
        </tr>
            <th>전화</th>
            <td></td>
        <tr align="center">
            <th>이메일</th>
            <td colspan="2"></td>
            <th>휴대폰</th>
            <td></td>
        </tr>
        <tr align="center">
            <th>주소</th>
            <td colspan="4"></td>

        </tr>
    </table>
</body>
</html>