-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnauka-html.html
82 lines (76 loc) · 3.26 KB
/
nauka-html.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
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link href="normalize.css" rel="stylesheet" type="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<header>
<nav class="navigation">
<a clas="navigation__link navigation__link--homepage" href="index.html">Strona główna</a>
<a clas="navigation__link" href="nauka-html.html">Nauka html</a>
<a clas="navigation__link" href="nauka-css.html">Nauka css</a>
</nav>
</header>
<main class="new-science">
<header class="new__header" id="top">
<h1 class="new-first__header new-first__header--js">Nauka HTML</h1>
</header>
<section class="second-header">
<h2 class="second-header__title">Budowa znaczników</h2>
<p class="second-header__description">
< znacznik atrybut="wartość" > treść </znacznik >
</p>
</section>
<section class="second-header" id="notatki">
<h2 class="second-header__title">Znaczniki w HTML-u</h2>
<p class="second-header__description">
< mail > główna część dokumentu,<br />
< section > sekcje dokumentu,<br />
< article > samodzielne treści,<br />
< header > nagłówek dokumentu/sekcji/artykułu,<br />
< footer > stopka dokumentu, sekcji,<br />
< h1-h6 > tekstowe nagłówki tytułowe,<br />
< p > paragraf/akapit,<br />
< br/ > złamanie linii,<br />
< b > pogrubienie, <br />
< i > kursywa, <br />
< strong > pogrubienie, ma znaczenie semantyczne, <br />
< em > kursywa, ma znaczenie semantyczne, <br />
< a > tworzy łącza wewnątrz i zewnątrz dokumentu:<br />
< a href="target" > opis łącza < /a > <br />
< nav > nawigacja, <br />
< img > obrazek o podanym adresie: <br />
< img src= "" alt = "" />
</p>
<article class="lila-header">
<h3 class="lila-header__title">Przydatne linki</h3>
<p class="lila-header__description">
<a href="https://validator.w3.org/nu/#textarea" target="blank"
>https://validator.w3.org/nu/#textarea</a
>
tu sprawdzisz kod HTML <br />
<a
href="https://developer.mozilla.org/en-us/docs/Web/HTML/Global_attributes"
target="blank"
>https://developer.mozilla.org/en-us/docs/Web/HTML/Global_attributes</a
>
spis atrybutów <br />
<a href="https://coolors.co" target="blank">https://coolors.co</a>
tu wybierzesz kolor <br />
<a href="https://codepen.io" target="blank">https://codepen.io</a>
tu sprawdzisz kod i sobie poćwiczysz <br />
</p>
</article>
</section>
</main>
<footer class="footer">
<p class="footer__description">
<strong>Nie jest lekko!</strong> <a class="footer__link" href="#top">Wróć na górę strony</a>
</p>
</footer>
</body>
</html>