시험 4시간 보고 회원가입 페이지 구현 풀이하느라 새로운 진도는 HTML에서 표 만드는 방법만 짧게 나갔음 ㅎㅎ
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>table</title>
</head>
<body>
<div align="center">
<h1>TABLE</h1>
<table border = "1" width="500">
<thead>
<tr>
<th rowspan="2">대분류1</th>
<th rowspan="2">대분류2</th>
<th rowspan="2">대분류3</th>
<th colspan="3">대분류4</th>
</tr>
<tr>
<th>소분류1</th>
<th>소분류2</th>
<th>소분류3</th>
</tr>
</thead>
<tbody align="center">
<tr>
<td>text</td>
<td>text</td>
<td>text</td>
<td>number</td>
<td>number</td>
<td>number</td>
</tr>
<tr>
<td>text</td>
<td>text</td>
<td>text</td>
<td>number</td>
<td>number</td>
<td>number</td>
</tr>
<tr>
<td>text</td>
<td>text</td>
<td>text</td>
<td>number</td>
<td>number</td>
<td>number</td>
</tr>
</tbody>
<tfoot align="center">
<tr>
<td colspan="3">합계</td>
<td>total</td>
<td>total</td>
<td>total</td>
</tr>
</tfoot>
</table>
</div>
</body>
</html>