Python_WEB/HTML
[Ch2]HTML5 기본 요소 - 연습문제 1
AnKiWoong
2020. 11. 1. 14:48
반응형
Q>
테이블을 생성하는 HTML 문서를 작성하라.
A>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<table border="1">
<tr>
<th>Column1</th>
<th>Column2</th>
<th>Column3</th>
</tr>
<tr>
<td rowspan="2">Row 1 Cell 1</td>
<td>Row 1 Cell 2</td>
<td>Row 1 Cell 3</td>
</tr>
<tr>
<td>Row 2 Cell 2</td>
<td>Row 3 Cell 3</td>
</tr>
<tr>
<td colspan="3">Row 3 Cell 1</td>
</tr>
</table>
</body>
</html>
table
https://developer.mozilla.org/ko/docs/Web/HTML/Element/table
HTML table 요소는 행과 열로 이루어진 표를 나타냅니다.
developer.mozilla.org
R>
![]() |
|
반응형