WEB/HTML & CSS
[HTML] 일기예보 만들기 예제 실습
스용공주
2024. 7. 12. 15:39
728x90
728x90
<!doctype html>
<html>
<head>
<title>날씨 예보</title>
<meta charset="utf-8">
<style>
table, tr, th, td {
border : black 1px solid;
border-collapse: collapse;
padding : 10px;
}
</style>
</head>
<body>
<h3>일기예보</h3>
<table>
<tr>
<th rowspan="2">지역</th><th colspan="2">13일(목)</th><th colspan="2">14일(금)</th><th colspan="2">15일(토)</th><th colspan="2">16일(일)</th>
</tr>
<tr>
<td>오전</td><td>오후</td><td>오전</td><td>오후</td><td>오전</td><td>오후</td><td>오전</td><td>오후</td>
</tr>
<tr>
<td>서울<br>경기도<br>인천</td><td><img src="Design/Weather/Rain.png" width="30"></td><td><img src="Design/Weather/Rain.png" width="30"></td><td><img src="Design/Weather/Wind.png" width="30"></td><td><img src="Design/Weather/Rain.png" width="30"></td><td><img src="Design/Weather/Rain.png" width="30"></td><td><img src="Design/Weather/Sun.png" width="30"></td><td><img src="Design/Weather/Sun.png" width="30"></td><td><img src="Design/Weather/Rain.png" width="30"></td>
</tr>
<tr>
<td>대전<br>세종<br>충남</td><td><img src="Design/Weather/Wind.png" width="30"></td><td><img src="Design/Weather/Wind.png" width="30"></td><td><img src="Design/Weather/Sun.png" width="30"></td><td><img src="Design/Weather/Rain.png" width="30"></td><td><img src="Design/Weather/Wind.png" width="30"></td><td><img src="Design/Weather/Sun.png" width="30"></td><td><img src="Design/Weather/Rain.png" width="30"></td><td><img src="Design/Weather/Sun.png" width="30"></td>
</tr>
<tr>
<td>부산<br>울산<br>경상남도</td><td><img src="Design/Weather/Rain.png" width="30"></td><td><img src="Design/Weather/Wind.png" width="30"></td><td><img src="Design/Weather/Sun.png" width="30"></td><td><img src="Design/Weather/Wind.png" width="30"></td><td><img src="Design/Weather/Rain.png" width="30"></td><td><img src="Design/Weather/Sun.png" width="30"></td><td><img src="Design/Weather/Sun.png" width="30"></td><td><img src="Design/Weather/Sun.png" width="30"></td>
</tr>
</table>
</body>
</html>
728x90
728x90