-
Notifications
You must be signed in to change notification settings - Fork 0
/
css_exercise.html
125 lines (125 loc) · 3.67 KB
/
css_exercise.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>我是Emmet的HTML練習</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1 id="hello">我是在header的H1標籤,我的id是hello</h1>
<h2 class="h2">我是在header的H2標籤,我的class是h2</h2>
</header>
<nav>
<h1>我是在nav的h1標籤,nav還包含以下選單</h1>
<ul>
<li><a href="">選單1</a></li>
<li><a href="">選單2</a></li>
<li><a href="">選單3</a></li>
<li><a href="">選單4</a></li>
<li><a href="">選單5</a></li>
</ul>
</nav>
<article>
<h1>我是在article標籤裡的H1</h1>
<p>我是p標籤裡的內容,以下是Lorem ipsum dolor sit amet, consectetur adipisicing elit. Veritatis nisi beatae suscipit animi sed atque eos minus adipisci dicta earum, nulla inventore corrupti cupiditate sint! Magni aut possimus voluptatem eaque.</p>
</article>
<section id="search">
<h1>這個section有個search的id,我是section裡的H1,這個section裡有一個Form表單</h1>
<form action="search"><label for="">搜尋:<input type="text" name="" id=""></label><input type="button" value="輸入"></form>
</section>
<div class="clear">
<h1>這個div有個clear的class,我是div裡的h1</h1>
</div>
<main>
<h1>我是main裡的H1,這個main裡有一個table</h1>
<table class="table">
<caption>我是caption。此table有個叫table的class</caption>
<thead>
<tr>
<th>標題: (th)001</th>
<th>標題: (th)002</th>
<th>標題: (th)003</th>
<th>標題: (th)004</th>
<th>標題: (th)005</th>
</tr>
</thead>
<tbody>
<tr>
<td>欄位(td)001</td>
<td>欄位(td)002</td>
<td>欄位(td)003</td>
<td>欄位(td)004</td>
<td>欄位(td)005</td>
</tr>
<tr>
<td>欄位(td)001</td>
<td>欄位(td)002</td>
<td>欄位(td)003</td>
<td>欄位(td)004</td>
<td>欄位(td)005</td>
</tr>
<tr>
<td>欄位(td)001</td>
<td>欄位(td)002</td>
<td>欄位(td)003</td>
<td>欄位(td)004</td>
<td>欄位(td)005</td>
</tr>
<tr>
<td>欄位(td)001</td>
<td>欄位(td)002</td>
<td>欄位(td)003</td>
<td>欄位(td)004</td>
<td>欄位(td)005</td>
</tr>
<tr>
<td>欄位(td)001</td>
<td>欄位(td)002</td>
<td>欄位(td)003</td>
<td>欄位(td)004</td>
<td>欄位(td)005</td>
</tr>
<tr>
<td>欄位(td)001</td>
<td>欄位(td)002</td>
<td>欄位(td)003</td>
<td>欄位(td)004</td>
<td>欄位(td)005</td>
</tr>
<tr>
<td>欄位(td)001</td>
<td>欄位(td)002</td>
<td>欄位(td)003</td>
<td>欄位(td)004</td>
<td>欄位(td)005</td>
</tr>
<tr>
<td>欄位(td)001</td>
<td>欄位(td)002</td>
<td>欄位(td)003</td>
<td>欄位(td)004</td>
<td>欄位(td)005</td>
</tr>
<tr>
<td>欄位(td)001</td>
<td>欄位(td)002</td>
<td>欄位(td)003</td>
<td>欄位(td)004</td>
<td>欄位(td)005</td>
</tr>
<tr>
<td>欄位(td)001</td>
<td>欄位(td)002</td>
<td>欄位(td)003</td>
<td>欄位(td)004</td>
<td>欄位(td)005</td>
</tr>
</tbody>
</table>
</main>
<footer>
<h1>我是在footer的H1標籤</h1>
</footer>
</body>
</html>