web study

열병합 colspan 본문

web/html

열병합 colspan

nayeon web 2022. 12. 27. 13:47
<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>열 병합 colspan</title>
</head>
<body>
    <h1>열 병합 colspan</h1>
    <table border="1">
        <thead>
            <tr>
                <th></th>
                <th>9am</th>
                <th>10am</th>
                <th>11am</th>
                <th>12am</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <th>월요일</th>
                <td colspan="2">UI 디자인</td>
                <td>html</td>
                <td>css</td>
            </tr>
            <tr>
                <th>화요일</th>
                <td colspan="3">체육</td>
                <td>디자인</td>
            </tr>
        </tbody>
    </table>
</body>
</html>
열 병합 colspan

열 병합 colspan

9am 10am 11am 12am
월요일 UI 디자인 html css
화요일 체육 디자인

'web > html' 카테고리의 다른 글

표 영역의 그룹화  (0) 2022.12.28
행병합 rowspan  (0) 2022.12.27
표의소제목 th  (0) 2022.12.27
표 table  (0) 2022.12.27
이미지 연습 02  (0) 2022.12.27