-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
312 lines (273 loc) · 9.54 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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="keywords" content="remark,remarkjs,markdown,slideshow,presentation" />
<meta name="description" content="A simple, in-browser, markdown-driven slideshow tool." />
<title>HTML5</title>
<style>
@import url(https://fonts.googleapis.com/css?family=Droid+Serif);
@import url(https://fonts.googleapis.com/css?family=Roboto);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
body {
font-family: 'Roboto', sans-serif;
}
h1, h2, h3 {
font-family: 'Roboto', sans-serif;
font-weight: 400;
margin-bottom: 0;
}
.remark-slide-content h1 { font-size: 3em; }
.remark-slide-content h2 { font-size: 2em; }
.remark-slide-content h3 { font-size: 1.6em; }
.footnote {
position: absolute;
bottom: 3em;
right: 1em;
}
li p { line-height: 1.25em; }
.red { color: #fa0000; }
.large { font-size: 2em; }
a, a > code {
color: rgb(249, 38, 114);
text-decoration: none;
}
code {
background: #e7e8e2;
border-radius: 5px;
}
.stretch img {
width: 100%;
}
.remark-code, .remark-inline-code { font-family: 'Ubuntu Mono'; }
.remark-code-line-highlighted { background-color: #373832; }
.pull-left {
float: left;
width: 47%;
}
.pull-right {
float: right;
width: 47%;
}
.pull-right ~ p {
clear: both;
}
#slideshow .slide .content code {
font-size: 0.8em;
}
#slideshow .slide .content pre code {
font-size: 0.9em;
padding: 15px;
}
.inverse {
background: #272822;
color: #777872;
text-shadow: 0 0 20px #333;
}
.inverse h1, .inverse h2 {
color: #f3f3f3;
line-height: 0.8em;
}
/* Slide-specific styling */
#slide-inverse .footnote {
bottom: 12px;
left: 20px;
}
#slide-how .slides {
font-size: 0.9em;
position: absolute;
top: 151px;
right: 140px;
}
#slide-how .slides h3 {
margin-top: 0.2em;
}
#slide-how .slides .first, #slide-how .slides .second {
padding: 1px 20px;
height: 90px;
width: 120px;
-moz-box-shadow: 0 0 10px #777;
-webkit-box-shadow: 0 0 10px #777;
box-shadow: 0 0 10px #777;
}
#slide-how .slides .first {
background: #fff;
position: absolute;
top: 20%;
left: 20%;
z-index: 1;
}
#slide-how .slides .second {
position: relative;
background: #fff;
z-index: 0;
}
/* Two-column layout */
.left-column {
color: #777;
width: 20%;
height: 92%;
float: left;
}
.left-column h2:last-of-type, .left-column h3:last-child {
color: #000;
}
.right-column {
width: 75%;
float: right;
padding-top: 1em;
}
</style>
</head>
<body>
<textarea id="source">
name: inverse
layout: true
class: center, middle, inverse
---
![](https://www.w3.org/html/logo/downloads/HTML5_Logo_512.png)
.footnote[![](https://www.google.com/s2/favicons?domain=www.w3.org) [HTML5](https://www.w3.org/TR/html5/)]
---
## Παγκόσμιος Ιστός
### World Wide Web - WWW
---
layout: false
.left-column[
### Ποιος τον επινόησε;
]
.right-column[
- Ο Τιμ Μπέρνερς Λι γεννήθηκε στο Λονδίνο στις 8 Ιουνίου 1955.
- Το 1984 αναλαμβάνει στο CERN τα κατανεμημένα συστήματα μεταφοράς επιστημονικών δεδομένων και ελέγχου.
- Δημιούργησε το Πρωτόκολλο Μεταφοράς Υπερκειμένου (`HyperText Transfer Protocol`, `HTTP`)
- Οραματίστηκε ένα παγκόσμιο σύστημα διακίνησης πληροφοριών, ταχύτερο και ολοσχερώς αποκεντρωμένο, ανεξάρτητο της πλατφόρμας του κάθε υπολογιστή, πολύγλωσσο και χωρίς γραφειοκρατικούς περιορισμούς και καθυστερήσεις.
- Το 1990 ολοκλήρωσε τη δημιουργία του πρώτου προγράμματος περιήγησης (browser), έπρεπε όμως να δημιουργήσει και ένα πρόγραμμα εξυπηρέτησης (server) και μια γλώσσα για την περιγραφή του εγγράφου. Έτσι, επινόησε τη γλώσσα `HTML` (`HyperText Markup Language`).
.footnote[.red[*] Πηγή: ![](https://www.google.com/s2/favicons?domain=el.wikipedia.org) [Τιμ Μπέρνερς Λι - Βικιπαίδεια](https://el.wikipedia.org/wiki/Τιμ_Μπέρνερς_Λι)]
]
---
.left-column[
### Ποιος τον επινόησε;
### Τι είναι όμως το `HTTP`;
]
---
.stretch[![](https://ruslanspivak.com/lsbaws-part1/LSBAWS_HTTP_request_response.png)]
.footnote[.red[*] Πηγή: ![](https://www.google.com/s2/favicons?domain=ruslanspivak.com) [Let’s Build A Web Server. Part 1. - Ruslan's Blog](https://ruslanspivak.com/lsbaws-part1/)]
---
template: inverse
## Η γλώσσα HTML
### HyperText Markup Language
---
.left-column[
### Η γλώσσα HTML
]
.right-column[
- Η `HTML` είναι η γλώσσα με την οποία κατασκευάζουμε ιστοσελίδες
- Είναι μια *δηλωτική* γλώσσα
- `HTML` σημαίνει `HyperText Markup Language`
- Τρέχουσα Έκδοση `HTML 5`
- W3C Candidate Recommendation 04 February 2014
- Νέο standard πρότυπο για την `HTML`, την `XHTML` και την `HTML DOM`. Η ανάπτυξη της `HTML5` έγινε με την συνεργασία της `World Wide Web Consortium` (`W3C`) και της `Web Hypertext Application Technology Working Group` (`WHATWG`)
]
---
.left-column[
### Η γλώσσα HTML
### - Δομή
]
.right-column[
```xml
<!DOCTYPE html>
<html>
<head>
<title>
Ο τίτλος της σελίδας
</style>
</head>
<body>
<h1>Επικεφαλίδα</h1>
<p>Αυτή είναι μία παράγραφος.</p>
</body>
</html>
```
]
---
.left-column[
### Η γλώσσα HTML
### - Δομή
### - Κανόνες
]
.right-column[
- Σωστή σύνταξη
```xml
<a><b>...</b></a>
```
- Τι γίνεται με τα κενά
```xml
<a><b>...</b></a>
<a>
<b>...</b>
</a>
```
- Διπλές και μονές ετικέτες
- Λάθη στην σύνταξη
]
---
.left-column[
### Η γλώσσα HTML
### - Δομή
### - Κανόνες
### - Βασικές ετικέτες
]
.right-column[
- `<h2>`, `<h3>`, `<h4>`, `<h5>` και `<h6>`
- `<p>...</p>`
- `<br />`
- `<!-- Σχόλια -->`
]
---
template: inverse
## HTML5 - CSS3 - JavaScript
---
.left-column[
### HTML5
]
.right-column[
- νέα χαρακτηριστικά έπρεπε να προστεθούν στην δομή των HTML, CSS και JavaScript
- μείωση των περιπτώσεων που χρειάζεται η εγκατάσταση plugins στον browser για κάποιου συγκεκριμένου τύπου στοιχείων (όπως βίντεο και audio)
- καλύτερη διαχείριση σφαλμάτων
- προσθήκη περισσότερων ετικετών οι οποίες θα αντικαταστήσουν κομμάτια κώδικα JavaScript που χρησιμοποιούσαν συχνά οι web designers
- το νέο πρότυπο θα έπρεπε να είναι αυτόνομο χωρίς να χρειάζεται να καλεί κομμάτια κώδικα από άλλα πρότυπα
- τα βήματα του σχεδιασμού και της ανάπτυξης του νέου προτύπου θα έπρεπε να είναι ορατά στο κοινό.
]
---
.left-column[
### HTML5
### - Νέα χαρακτηριστικά
]
.right-column[
Μερικά από τα νέα χαρακτηριστικά του νέου προτύπου είναι τα παρακάτω:
- δυνατότητα σχεδιασμού γραφικών με χρήση JavaScript (νέα ετικέτα canvas)
- αναπαραγωγή βίντεο και audio χωρίς να χρειάζεται η εγκατάσταση plugins (νέες ετικέτες video και audio)
- προσθήκη νέων ετικετών που κάνουν την δημιουργία και την διαχείριση των ιστοσελίδων, ακόμη πιο εύκολη (νέες ετικέτες article, footer, header κτλ.)
- νέα στοιχεία στις HTML φόρμες (calendar, date, time, search κτλ.)
.footnote[.red[*] Πηγή: ![](https://www.google.com/s2/favicons?domain=www.wlearn.gr) [www.wlearn.gr](http://www.wlearn.gr/index.php/2010-11-14-15-17-49)
]
---
name: last-page
template: inverse
## Ερωτήσεις;
---
name: last-page
template: inverse
## Ευχαριστώ!
</textarea>
<script src="https://remarkjs.com/downloads/remark-latest.min.js"></script>
<script>
var hljs = remark.highlighter.engine;
</script>
<script>
var slideshow = remark.create({
highlightStyle: 'monokai',
highlightLines: true
}) ;
</script>
</body>
</html>