(2) 테이블만들기(colspan,rowspan)공부방2022. 11. 8. 09:22
Table of Contents
728x90
728x90
<!DOCTYPE html>
<html lang="en">
<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>Document</title>
<style>
table, tr, td {
border: 1px solid black;
border-collapse: collapse;
}
td {
width: 80px;
}
</style>
</head>
<body>
<table>
<tr>
<td colspan="5">1</td>
</tr>
<tr>
<td colspan="5">2</td>
</tr>
<tr>
<td rowspan="3">3</td>
<td rowspan="3">4</td>
<td>5</td>
<td>6</td>
<td>7</td>
</tr>
<tr>
<td colspan="2">8</td>
<td>9</td>
</tr>
<tr>
<td colspan="3">10</td>
</tr>
</table>
</body>
</html>
728x90
300x250
@mag1c :: 꾸준히 재밌게
2023.04 ~ 백엔드 개발자의 기록
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!