-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelementsHTML.html
More file actions
286 lines (272 loc) · 11.1 KB
/
Copy pathelementsHTML.html
File metadata and controls
286 lines (272 loc) · 11.1 KB
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0">-->
<title>Elements Showcase</title>
<link rel="stylesheet" href="main.css">
<style>
body {
background-color: rgb(236, 231, 255);
color: rgb(72, 72, 72);
}
</style>
</head>
<body>
<header>
<img src="assets/HTML5_Logo.svg" alt="HTML5 Logo" title="HTML5 Logo" width="50"> Αφοσιωμένοι στην HTML...
<nav>
<a href="#">Σελίδα #1</a>
<a href="#">Σελίδα #2</a>
<a href="#">Σελίδα #3</a>
<a href="tel:2310891857">Τηλέφωνο</a>
</nav>
</header>
<main>
<article>
<h1>Χρήση των HTML5 Sectioning Elements</h1>
<section>
<h1>Το Element <em>main</em></h1>
<p>Περιέχει το κύριο τμήμα του εγγράφου ή της εφαρμογής.</p>
<h2>Ιδιαιτερότητες</h2>
<p>Μπορεί να είναι <strong>μόνον</strong> ένα</p>
</section>
<section>
<h1>Το Element <em>article</em></h1>
<p>Αποτελεί τμήμα του εγγράφου ή της εφαρμογής που θα μπορούσε να αποσπαστεί από το περιβάλλον του</p>
</section>
<aside>
<p>Συστήνεται η χρήση του <h1> στα sectioning elements.</p>
<p>Ανάλογα με την εμφώλευσή του καταλήγει ισάξιο με το <h2>, το <h3> κ.λπ.</p>
</aside>
</article>
</main>
<h1>Header 1</h1>
<h2>Header 2</h2>
<h3>Header 3</h3>
<h4>Header 4</h4>
<h5>Header 5</h5>
<h6>Header 6</h6>
<div id="sameBorder">
<ol>
<li>Item</li>
<li>Item</li>
</ol>
<ul>
<li>Item #1
<ol>
<li>Nested item</li>
<li>Nested item</li>
</ol>
</li>
<li>Item #2</li>
</ul>
</div>
<p>Lorem ipsum dolor sit amet, in eum hinc doming noster. Et postea tacimates mel, ius quodsi aperiri mnesarchum in. Vix purto omittam constituam no, tale habemus civibus ne mei. Et oporteat imperdiet mei. Solum tamquam nominati vim te. Quo ignota verear regione et, habeo ornatus conclusionemque id eos.
Te probo laudem suscipit est, ius patrioque democritum id, vis velit falli no. Ea nec mutat suscipiantur, vix eu magna paulo volumus. Dicat apeirian ad has. Ei eos mucius discere omittantur, et putant consequat voluptatibus sit.
<br>
Te petentium definiebas comprehensam est, mea error urbanitas democritum id. Eos oratio dicant equidem ut, pro adhuc facete propriae in. Ei per volumus minimum signiferumque. Nam te meliore nominavi similique, tantas option maiorum mei eu. Altera pericula conclusionemque an vim. Ullamcorper intellegebat ad mei.</p>
<pre>
U U M M
U U MM MM
U U ooo M M M
U U o o M M
UUU ooo M M
</pre>
<dl>
<dt>Term with no description</dt>
<dt>Term with two descriptions</dt>
<dd>Description #1</dd>
<dd>Description #2</dd>
</dl>
<hr>
<figure>
<img src="assets/HTML5_Logo.svg" alt="HTML5 Logo" title="HTML5 Logo" width="50">
<figcaption>HTML5 Logo</figcaption>
</figure>
<p>Άθροισμα: Χ<sup>2</sup> + Α<sub>2</sub></p>
<audio src="assets/smiths.ogg" controls></audio><br>
<video controls>
<source src="assets/simple.webm" type="video/webm">
<source src="assets/simple.mp4" type="video/mp4">
Δυστυχώς, δεν εκτελείται <code>video</code> στον browser σας.
</video>
<table>
<caption>Ένας μικρός πίνακας</caption>
<thead></thead>
<tbody>
<tr>
<th>Έτος</th>
<th colspan="2">Ονοματεπώνυμο</th>
<th>Βαθμολογία</th>
</tr>
<tr>
<td rowspan="3">1o</td>
<td>Αγγέλου</td>
<td>Βασιλική</td>
<td>7.0</td>
</tr>
<tr>
<td>Γεωργίου</td>
<td>Βασίλειος</td>
<td>8.5</td>
</tr>
<tr>
<td>Παρασκευά</td>
<td>Μαρία</td>
<td>5.0</td>
</tr>
<tr>
<td rowspan="2">2o</td>
<td>Παπαδόπουλος</td>
<td>Ανέστης</td>
<td>9.2</td>
</tr>
<tr>
<td>Καλούση</td>
<td>Όλγα</td>
<td>7.5</td>
</tr>
</tbody>
<tfoot></tfoot>
</table>
<hr>
<table class="myData">
<caption>Ένας πλήρης πίνακας</caption>
<colgroup>
<col>
<col span="2" style="background-color: rgb(117, 196, 8);">
<col>
<col>
</colgroup>
<thead>
<tr>
<th>Α/Α</th>
<th>Άνθρωποι</th>
<th>Μήνες</th>
<th>Κόστος</th>
<th>Φ.Π.Α.</th>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td>σε €</td>
<td>23%</td>
</tr>
</thead>
<tfoot>
<tr>
<th>Σύνολο:</th>
<th>18</th>
<th>29</th>
<th>8500</th>
<th>1955</th>
</tr>
</tfoot>
<tbody>
<tr>
<td>1</td>
<td>2</td>
<td>6</td>
<td>1000</td>
<td>230</td>
</tr>
<tr>
<td>2</td>
<td>3</td>
<td>4</td>
<td>2000</td>
<td>460</td>
</tr>
<tr>
<td>3</td>
<td>5</td>
<td>2</td>
<td>1000</td>
<td>230</td>
</tr>
<tr>
<td>4</td>
<td>3</td>
<td>6</td>
<td>1500</td>
<td>345</td>
</tr>
<tr>
<td>5</td>
<td>1</td>
<td>3</td>
<td>1000</td>
<td>230</td>
</tr>
<tr>
<td>6</td>
<td>4</td>
<td>8</td>
<td>2000</td>
<td>460</td>
</tr>
</tbody>
</table>
<form method="get">
<fieldset>
<legend>23 inputs!</legend>
<datalist id="myList">
<option value="Θεσσαλονίκη">
<option value="Αθήνα">
<option value="Πάτρα">
</datalist>
<label>Text: <input name="n01" list="myList" type="text"></label><br>
<label>Password: <input name="n02" type="password"></label><br>
<label><input name="n03" type="checkbox" value="checked"> Checkbox</label><br>
<label><input name="n04" type="radio" value="m" checked> Male</label>
<label><input name="n04" type="radio" value="f"> Female</label><br>
<input name="n05" type="button" value="Input"><br>
<input name="n06" type="submit" value="Υποβολή"><br>
<input name="n07" type="reset" value="Επαναφορά"><br>
Επιλογή αρχείου: <input name="n08" type="file"><br>
<input name="n09" type="hidden" value="Κρυφό">
<input name="n10" type="image" src="assets/sign_up.svg" alt="Sign Up" width="80px"><br>
Number: <input name="n11" type="number" min="10" max="50" step="10"><br>
Range: <input name="n12" type="range" min="0" max="8" step="2"><br>
E-mail: <input name="n13" type="email"><br>
URL: <input name="n14" type="url"><br>
Search: <input name="n15" type="search"><br>
Telephone: <input name="n16" type="tel"><br>
Color: <input name="n17" type="color" value="#ff0000"><br>
Date: <input name="n18" type="date"><br>
Month: <input name="n19" type="month"><br>
Week: <input name="n20" type="week"><br>
Time: <input name="n21" type="time"><br>
Datetime: <input name="n22" type="datetime"><br>
Datetime-local: <input name="n23" type="datetime-local">
</fieldset>
<button type="button">Button</button>
<select name="pizza">
<optgroup label="Εντός προσφοράς">
<option value="small">Ατομική</option>
<option value="medium">Οικογενειακή</option>
</optgroup>
<optgroup label="Εκτός προσφοράς">
<option value="big" selected>Μεγάλη</option>
<option value="giant">Γίγας</option>
</optgroup>
</select><br>
<textarea name="comments" placeholder="Σχόλια..."></textarea><br>
<progress value="70" max="100">70%</progress>
<meter max="100" low="15" high="80" value="75" optimum="10">75GB / 100GB</meter>
</form>
<footer>
© Copyright MSc Applied Informatics 2014-2024
<address>
E-mail: kaskalis (at) gmail.com
</address>
</footer>
<script>
window.addEventListener("click", function () {
console.log("Click στο παράθυρο!");
}, false);
</script>
</body>
</html>