<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>신체 검사 표</title>
</head>
<body>
<h2>신체 검사</h2>
<hr>
<table border="1">
<caption>학생 신체 검사 표</caption>
<thead>
<tr><th>이름</th><th>키</th><th>체중</th><th>시력</th></tr>
</thead>
<tfoot>
<tr><th>평균</th><th>181</tr><th>77</th><th>1.3</th></tr>
</tfoot>
<tbody>
<tr><td>황기태</td><td>179</td><td>67</td><td>1.0</td></tr>
<tr><td>이재문</td><td>177</td><td>77</td><td>2.0</td></tr>
<tr><td>정인환</td><td>189</td><td>87</td><td>1.2</td></tr>
</tbody>
</table>
</body>
</html>
--------------------------------------------------------------------------------------
이렇게 코딩을 했는데 표가 마지막 tfoot에서 오류가 생깁니다. 표는 스크린샷 첨부 했습니다. 오류 코드는 노란색 세모 느낌표로 Multiple annotations found at this line:
-Invalid location of tag (th).
-No start tag (<tr>).
이런 문구가 뜹니다. 코딩에는 문제가 없는데 제대로 실행이 안됩니다. 어떻게 고치나요? 감사합니다.
<tfoot>
<tr><th>평균</th><th>181(이곳이잘못된것같아요</tr>)<th>77</th><th>1.3</th></tr>
</tfoot>