-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
469 lines (455 loc) · 15 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
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
<html>
<head>
<title>Informatii HTML</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Poetsen+One&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div class="pagmain">
<h1
style="
text-align: center;
color: rgb(249, 249, 249);
font-family: Poetsen One;
background-color: rgb(54, 118, 109);
padding: 7px;
border-radius: 15px;
"
>
Informatii HTML
</h1>
<div class="navdiv">
<div class="navbar">
<ul>
<li><a href="pagini/css.html">CSS</a></li>
<!-- <li><a href="pagini/wikipedia.html">Wikipedia</a></li> -->
<li><a href="pagini/portal.html">Portal</a></li>
<li><a href="pagini/multimedia.html">Multimedia</a></li>
<li><a href="pagini/tabele.html">Tabele</a></li>
<li><a href="despre.html">Despre</a></li>
</ul>
</div>
</div>
<br />
<br />
<br />
<br />
<hr />
</div>
<section class="infos">
<div class="infoContent">
<br />
<div
style="
background: rgb(174, 173, 173);
max-width: 1000px;
height: auto;
text-align: center;
margin: auto;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
"
>
<div
style="
background: gray;
color: white;
margin-top: -10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
"
>
<h3>Ce este HTML-ul?</h3>
</div>
<p style="padding: 15px; margin-top: -10px">
HyperText Markup Language (HTML) este un limbaj de marcare utilizat
pentru crearea paginilor web ce pot fi afișate într-un browser (sau
navigator). Scopul HTML este mai degrabă prezentarea informațiilor
paragrafe, fonturi, tabele ș.a.m.d. decât descrierea semanticii
documentului. În cadrul dezvoltării web de tip front-end, HTML este
utilizat împreună cu CSS și JavaScript.
</p>
</div>
<h3>Taguri si elemente populare in HTML</h3>
<p>
Detalii despre tagul
<span style="color: green; font-weight: bold"><P></span>:
</p>
<ul style="margin-top: -10px">
<li>Unul dintre cele mai folosite taguri.</li>
<li>Este folosit pentru paragafe</li>
</ul>
<p>
Un alt <b>element popular</b> este
<span style="color: green; font-weight: bold">Headingul</span>.
Headingurile pot fi de mai multe tipuri. Ele se diferentiaza prin
<b>numere</b>.
</p>
<br />
<div
style="
background: rgb(174, 173, 173);
max-width: 700px;
margin: auto;
height: auto;
text-align: center;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
"
>
<div
style="
background: gray;
color: white;
margin-top: -10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
"
>
<h3>Exemplu cu paragrafe si heading</h3>
</div>
<textarea
style="
padding: 5px;
margin-top: -10px;
width: 100%;
height: 230px;
background: transparent;
color: black;
resize: none;
text-wrap: wrap;
"
disabled
>
<html>
<head>
<title>Paragraf si Heading</title>
</head>
<body>
<h1>Lorem ipsum</h1>
<p>
Neque porro quisquam est qui dolorem ipsum quia dolor sit amet,
consectetur, adipisci velit...
</p>
</body>
</html>
</textarea>
</div>
<p>Headingurile sunt de mai multe tipuri:</p>
<ol style="margin-top: -7px">
<li><H1></li>
<li><H2></li>
<li><H3></li>
<li><H4></li>
<li><H5></li>
<li><H6></li>
</ol>
<ol style="margin-top: -7px">
<li><h1 style="margin: 0px">Exemplu H1</h1></li>
<li><h2 style="margin: 0px; font-size: 22px">Exemplu H2</h2></li>
<li><h3 style="margin: 0px">Exemplu H3</h3></li>
<li><h4 style="margin: 0px">Exemplu H4</h4></li>
<li><h5 style="margin: 0px">Exemplu H5</h5></li>
<li><h6 style="margin: 0px">Exemplu H6</h6></li>
</ol>
<p>
Cel <b>mai mare</b> heading si cel mai important este
<span style="color: green; font-weight: bold">h1</span>, si cel
<b>mai mic</b> este
<span style="color: green; font-weight: bold">h6</span>. (pot fi
stilizate dupa bunul plac)
</p>
<p>
<span style="color: green; font-weight: bold">Spanul</span> este un
<b>subelement</b>>, folosit pentru a <b>selecta</b> si
<b>manipula</b> un cuvant o propozitie sau o fraza.
</p>
<p>
<span style="color: green; font-weight: bold">br</span> (break line)
este un <b>selfclosing tag</b> folositor pentru a
<b>adauga spatiu</b> in texte.<br />
Un alt <b>selfclosing tag</b> similar este
<span style="color: green; font-weight: bold"><hr></span>
(horizontal rule) care adauga un <b>spatiu orizontal</b> ce separa
continutul din pagina HTML.
</p>
<p>
Body-ul,
<span style="color: green; font-weight: bold"><body></span>
reprezinta <b>aspectul documentului</b> HTML (vizual).
</p>
<div
style="
background: rgb(174, 173, 173);
height: 156px;
float: right;
text-align: center;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
margin: 15px;
"
>
<div
style="
background: gray;
color: white;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
margin-top: -10px;
font-size: 15px;
"
>
<h3>Strucutra paginii HTML</h3>
</div>
<textarea
style="
padding: 5px;
margin-top: -10px;
width: 100%;
height: 135px;
background: transparent;
color: black;
resize: none;
text-wrap: wrap;
"
disabled
>
<html>
<head>
</head>
<body>
</body>
</html>
</textarea
>
</div>
<p>
Head,
<span style="color: green; font-weight: bold"><head></span>
reprezinta un <b>container de date</b> ce nu sunt afisate vizual.
</p>
<p>
<span style="color: green; font-weight: bold"><title></span>,
folosit pentru a <b>seta un titlu</b> paginii HTML.
</p>
<p>
<span style="color: green; font-weight: bold"><link></span>
defineste <b>relatia</b> dintre pagina html si o
<b>resursa externa</b>.<br />
<strong style="font-weight: normal; margin: 10px"
>De cele mai multe ori acest tag este folosit pentru a
<b>stiliza pagina</b> html folosind un fisier css extern sau pentru
a <b>adauga un favicon</b> paginii.</strong
>
</p>
<p>
<span style="color: green; font-weight: bold">Inputul</span>
este un <b>selfclosing tag</b>, flosit pentru a
<b>introduce date</b>.<br />
Inputurile pot fi de mai multe tipuri:
</p>
<ol style="margin-top: -10px">
<li>text (default)</li>
<li>number</li>
<li>email</li>
<li>password</li>
<li>checkbox</li>
<li>radio</li>
<li>submit (creeaza un buton de submit)</li>
<li style="list-style-type: none">...</li>
</ol>
<p>
<span style="color: green; font-weight: bold">Inputurile</span> mai
sunt frecvent <b>insotite de labeluri</b>
<span style="color: green; font-weight: bold"><label></span>
care sunt corelate prin atributele <b>id</b> si <b>for</b>.
</p>
<h4 style="text-align: center">HTML Escape Sequences</h4>
<table class="tabela">
<thead>
<tr>
<th>Named</th>
<th>Decimal</th>
<th>Hexadecimal</th>
<th>Result</th>
<th>Description</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<tr>
<td>&amp</td>
<td>&#38;</td>
<td>&#x26;</td>
<td>&</td>
<td>Ampersand</td>
<td></td>
</tr>
<tr class="td2">
<td>&lt;</td>
<td>&#60;</td>
<td>&#x3C;</td>
<td><</td>
<td>Less Than</td>
<td></td>
</tr>
<tr>
<td>&gt;</td>
<td>&#62;</td>
<td>&#x3e;</td>
<td>></td>
<td>Greater Than</td>
<td></td>
</tr>
<tr class="td2">
<td>&quot;</td>
<td>&#34;</td>
<td>&#x22;</td>
<td>"</td>
<td>Double Quote</td>
<td></td>
</tr>
<tr>
<td>&apos;</td>
<td>&#39;</td>
<td>&#x27;</td>
<td>'</td>
<td>Single Quote</td>
<td></td>
</tr>
<tr class="td2">
<td>&nbsp;</td>
<td>&#160;</td>
<td>&#xA0;</td>
<td></td>
<td>Non-Breaking Space</td>
<td></td>
</tr>
<tr>
<td>&copy;</td>
<td>&#169;</td>
<td>&#xA9;</td>
<td>©</td>
<td>Copyright</td>
<td></td>
</tr>
<tr class="td2">
<td>&reg;</td>
<td>&#174;</td>
<td>&#xAE;</td>
<td>®</td>
<td>Registered Trademark</td>
<td></td>
</tr>
<tr>
<td>&dagger;</td>
<td>&#8224;</td>
<td>&#x2020;</td>
<td>†</td>
<td>Dagger</td>
<td></td>
</tr>
<tr class="td2">
<td>&Dagger;</td>
<td>&#8225;</td>
<td>&#x2021;</td>
<td>‡</td>
<td>Double Dagger</td>
<td>Names are case sensitive</td>
</tr>
<tr>
<td>&ddagger;</td>
<td>&#8225;</td>
<td>&#x2021;</td>
<td>‡</td>
<td>Double Dagger</td>
<td>Names may have synonyms</td>
</tr>
<tr class="td2">
<td>&trade;</td>
<td>&#8482;</td>
<td>&#x2122;</td>
<td>™</td>
<td>Trademark</td>
<td></td>
</tr>
</tbody>
</table>
<p>
<span style="color: green; font-weight: bold"><img></span> este
folosit pentru a <b>incorpora o imagine</b> in pagina HTML.<br />
<span style="color: green; font-weight: bold"><video></span>
este folosit pentru a <b>incorpora un video</b> in pagina HTML.<br />
<span style="color: green; font-weight: bold"><audio></span>
este folosit pentru a <b>incorpora un continut audio</b> in pagina
HTML.
</p>
<p>
Tagul
<span style="color: green; font-weight: bold"><button></span>
incorporeaza un <b>buton</b>.
</p>
<p>
Tagul
<span style="color: green; font-weight: bold"><a></span> este
folosit pentru a <b>incorpora link-uri</b> in pagina html.<br />
<strong style="font-weight: normal; margin: 15px">
Cel mai important atribut pentru <a> este
<strong>href</strong> care indica destinatia link-ului. </strong
><br />
<strong style="font-weight: normal; margin: 15px">
By default, link-urile vor aparea:
<ul style="margin-top: -10px; padding: 0px 0px 0px 50px">
<li>Un link nevizitat o sa apara subliniat si albastru.</li>
<li>Un link vizitat o sa apara subliniat si mov.</li>
<li>Un link activ o sa apara subliniat si rosu.</li>
</ul>
</strong>
</p>
<p>
Tagul
<span style="color: green; font-weight: bold"><div></span> este
folosit ca si un <b>container pentru elementele</b> HTML si poate fi
<b>stilizat/manipulat</b> folosind <b>CSS</b> si
<b>Javascript</b>.<br />
Un alt tag similar este
<span style="color: green; font-weight: bold"><section></span>
care este mai bine <b>indexat</b> de catre
<b>motoarele de cautare</b>.
</p>
<p>
Toate informatiile despre HTML, sau cel putin o buna parte, pot fi
gasite pe <a href="https://www.w3schools.com/">W3Schools</a>, sau poti
simula o pagina HTML live chiar aici😎👇.
</p>
<br />
<div style="width: 100%; display: flex; justify-content: center">
<div class="iframeDiv">
<iframe
id="_onecompiler"
class="responsiveiframe"
height="390"
width="1000"
src="https://onecompiler.com/html"
title="onecompiler"
loading="lazy"
data-readystate="complete"
></iframe>
</div>
</div>
</div>
<hr />
</section>
<div class="tentativa_de_footer">
<p>© IULICA ©</p>
<p>Toate drepturile sunt rezervate😎</p>
</div>
<script src="script.js"></script>
</body>
</html>