-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest1.html
46 lines (45 loc) · 1016 Bytes
/
test1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="zh-TW">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>天氣預報</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
h1 {
margin-top: 20px;
}
div {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 300px;
margin: 20px auto;
padding: 20px;
}
img {
width: 100px;
height: 100px;
}
p {
margin: 10px 0;
}
</style>
</head>
<body>
<h1>今日天氣預報</h1>
<div>
<img src="https://www.flaticon.com/svg/vstatic/svg/2938/2938494.svg?token=exp=1622043179~hmac=c41b2dce8c9f8e51cfcbd4ef8ad27175" alt="天氣圖示">
<p>日期: 2022-01-01</p>
<p>溫度: 25°C</p>
<p>天氣描述: 晴</p>
<p>更新時間: 2022-01-01 08:00</p>
</div>
</body>
</html>