[HTML] table 연습문제개발자가 되기까지 (2023.08.16~2024.04.15)/[Basic] HTML & CSS2023. 10. 28. 03:03
Table of Contents
<Quest>
|
<Solve>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<table border="1px">
<caption>성적표</caption> <!-- 테이블 이름-->
<thead>
<tr> <!-- 행 -->
<th>번호</th> <!-- 열 -->
<th>이름</th>
<th>성적</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>리틀</td>
<td>90</td>
</tr>
<tr>
<td>2</td>
<td>릴리</td>
<td>80</td>
</tr>
<tr>
<td>3</td>
<td>해리</td>
<td>70</td>
</tr>
</tbody>
<tfoot>
<tr>
<th colspan="2">합계</th> <!-- 칼럼을 합침 -->
<td>???</td>
</tr>
</tfoot>
</table>
</body>
</html>
[HTML] table 연습문제 끝!
(다음 게시물 예고편)
[HTML&CSS] color 연습문제
728x90
@rlozlr :: 얼렁뚱땅 개발자
얼렁뚱땅 주니어 개발자
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!