-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
215 lines (210 loc) · 7.38 KB
/
index.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!DOCTYPE html>
<html lang="zh-tw">
<head>
<meta charset="utf-8">
<title>課程安排</title>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/black.css" id="theme">
<!-- Code syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match(/print-pdf/gi) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName('head')[0].appendChild(link);
</script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<h1>網頁設計</h1>
</section>
<section>
<h2>一學期20堂課</h2>
<ul>
<li class="fragment">1堂 簡單介紹網站架構</li>
<li class="fragment">3堂 HTML</li>
<li class="fragment">6堂 CSS</li>
<li class="fragment">7堂 Javascript/jQuery</li>
<li class="fragment">2堂 專題製作</li>
<li class="fragment">1堂 專題展示</li>
</ul>
</section>
<section>
<section>
<h1>Web Architecture</h1>
</section>
<section>
<h2>Front end v.s Back end</h2>
</section>
</section>
<section>
<section>
<h1>HTML</h1>
</section>
<section>
<h2>HTML基本架構</h2>
<pre><code><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"> //單標籤
<title></title> //前後包夾標籤
</head>
<body>
//網頁內容顯示
</body>
</html>
</code></pre>
<p class="fragment">其他常用標籤:換行(br)、標題(h1~h6)、段落(p)、清單(ol, ul)、連結(a)、圖片(img)</p>
</section>
<section>
<h2>兩種標籤元素</h2>
<ul>
<li>行內元素 : <span>, <a></li>
<li>區塊元素 : <div>, <p></li>
</ul>
</section>
</section>
<section>
<section>
<h1>CSS</h1>
</section>
<section>
<h2>三種使用方式</h2>
<ul>
<li>行內樣式 <pre><code><span style="color:red;"></span></code></pre></li>
<li>置頂樣式
<pre><code><head>
<style type="text/css">
body {
background: #fff;
}
</style>
</head></code></pre></li>
<li>外部樣式
<pre><code><head>
<link rel="stylesheet" type="text/css" href="main.css">
</head></code></pre>
</li>
</ul>
</section>
<section>
<h2>三種基本選擇器(selector)</h2>
<ul>
<li>
Tag selector
<pre><code>body {
background: red;
}
</code></pre>
</li>
<li>
Class selector : 標籤中可有多個類別,且可重複使用
<pre><code>.container {
background: blue;
}
</code></pre>
</li>
<li>
ID selector : 每個標籤只能有一個,且名稱不可重複
<pre><code>#main {
background: yellow;
}
</code></pre>
</li>
</ul>
</section>
<section>
<h1>SPA</h1>
<span class="fragment">Single </span><span class="fragment">Page </span><span class="fragment">Application</span>
</section>
<section>
<h1>RWD</h1>
<span class="fragment">Responsive </span><span class="fragment">Web </span><span class="fragment">Design</span>
</section>
</section>
<section>
<section>
<h1>Javascript</h1>
<h3>jQuery</h3>
</section>
<section>
<h1>DOM</h1>
<span class="fragment">Document Object Model</span>
<br>
<span class="fragment">document → html → body → ......</span>
</section>
<section>
<h1>jQuery</h1>
<p class="fragment">適合初學者使用的 javascript library</p>
<pre class="fragment"><code>$(document).ready(){ //網頁載入完成後
$('p').fadeIn(1500); //淡出效果
}
</code></pre>
</section>
</section>
<section>
<h1>專題製作</h1>
<a href="../WebQuest" class="fragment">WebQuest</a>
</section>
<section>
<h1>專題展示</h1>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
// Full list of configuration options available at:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom
// Optional reveal.js plugins
dependencies: [{
src: 'lib/js/classList.js',
condition: function() {
return !document.body.classList;
}
}, {
src: 'plugin/markdown/marked.js',
condition: function() {
return !!document.querySelector('[data-markdown]');
}
}, {
src: 'plugin/markdown/markdown.js',
condition: function() {
return !!document.querySelector('[data-markdown]');
}
}, {
src: 'plugin/highlight/highlight.js',
async: true,
condition: function() {
return !!document.querySelector('pre code');
},
callback: function() {
hljs.initHighlightingOnLoad();
}
}, {
src: 'plugin/zoom-js/zoom.js',
async: true
}, {
src: 'plugin/notes/notes.js',
async: true
}]
});
</script>
</body>
</html>