-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
165 lines (164 loc) · 6.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Basic Language of the web: HTML</title>
<!-- here comes css from external file-->
<link href="style.css" rel="stylesheet" />
</head>
<body>
<div class="container">
<header class="main_header clearfix">
<h1 class="headline main-headline">📘 The Code Magazine</h1>
<nav class="menu">
<!-- NAV DOES NOT DO ANYTHING, IT ONLY GROUPS THESE ELEMENTS TOGETHER, IT IS USEFUL-->
<!-- this is link inside our webpage-->
<a class="menu_link" href="blog.html">Blog</a>
<!-- here are three links that do not go anywhere-->
<a class="menu_link" href="#">Challenges</a>
<a class="menu_link" href="#">Flexbox</a>
<a class="menu_link" href="#">CSS Grid</a>
</nav>
<!-- <div class="clear"></div> -->
</header>
<article>
<!-- THIS IS JUST A CONTAINER FOR WHOLE BLOG-->
<header class="post_header">
<h2 class="headline">The Basic Language of the web: HTML</h2>
<img
src="img/laura-jones.jpg"
alt="photograph of Laura Jones"
width="50"
height="50"
class="author_image"
/>
<!-- strong looks same as b, but now it has a meaning. Don't use b, use strong for bolding text-->
<p id="author" class="author">
Posted by <strong>Laura Jones</strong> on Monday, June 21st 2027
</p>
<img
src="img/post-img.jpg"
alt="html code on the screen"
width="500"
height="200"
class="post_image"
/>
<button class="button-like">❤️ Like</button>
</header>
<p>
All modern websites and web applications are built using three
<!-- <em> stands for <i>-->
<em>fundamental</em>
technologies: HTML, CSS and JavaScript. These are the languages of the
web.
</p>
<p>
In this post, let's focus on HTML. We will learn what HTML is all
about, and why you too should learn it.
</p>
<h3 class="headline">What is HTML?</h3>
<p>
<!-- <strong> stands for <b>-->
HTML stands for <strong>H</strong>yper<strong>T</strong>ext
<strong>M</strong>arkup <strong>L</strong>anguage. It's a markup
language that web developers use to structure and describe the content
of a webpage (not a programming language).
</p>
<p>
HTML consists of elements that describe different types of content:
paragraphs, links, headings, images, video, etc. Web browsers
understand HTML and render HTML code as websites.
</p>
<!-- this is just a comment, that I used here ordered list-->
<p>In HTML, each element is made up of 3 parts:</p>
<ol class="list ordered_list">
<li class="list_item">The opening tag</li>
<li class="list_item">The closing tag</li>
<li class="list_item">The actual element</li>
</ol>
<p>
<!-- anchor href link which goes outside of our html
in new blank window-->
You can learn more at the
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML"
target="_blank"
>MDN Web Docs</a
>.
</p>
<h3 class="headline">Why should you learn HTML?</h3>
<p>
There are countless reasons for learning the fundamental language of
the web. Here are 5 of them:
</p>
<!-- there is unordered list used-->
<ul class="list unordered_list">
<li class="list_item">
To be able to use the fundamental web dev language
</li>
<li class="list_item">
To hand-craft beautiful websites instead of relying on tools like
Worpress or Wix
</li>
<li class="list_item">To build web applications</li>
<li class="list_item">To impress friends</li>
<li class="list_item">To have fun 😃</li>
</ul>
<p>Hopefully you learned something new here. See you next time!</p>
</article>
<aside class="related">
<div class="headline_related">
<h4 class="headline">Relasted posts</h4>
</div>
<!-- we use div only if we do not want to give website parts any meaning just to separate them. Div is generic-->
<ul class="list unordered_list">
<li class="list_item">
<img
src="img/related-1.jpg"
alt="Person is programming"
height="75"
width="75"
class="related_images"
/>
<a href="how-to-learn-web-development.html"
>How to learn web development</a
>
<p class="related_author">By Jonas Schmedtmann</p>
</li>
<li class="list_item">
<img
src="img/related-2.jpg"
alt="'A lightning"
height="75"
width="75"
class="related_images"
/>
<a href="the-unknown-powers-of-css.html"
>The unknown power of CSS</a
>
<p class="related_author">By Jim Dillon</p>
</li>
<li class="list_item">
<img
src="img/related-3.jpg"
alt="Javascript code"
height="75"
width="75"
class="related_images"
/>
<a href="why-javascript-is-awesome.html"
>Why Javascript is awesome</a
>
<p class="related_author">By Matilda Bubblesort</p>
</li>
</ul>
</aside>
<!-- check html entities for specific signs as euro or copyright sign which is below-->
<footer>
<p id="copyright" class="copyright footer_text">
Copyright © 2022 by Tomas Jurkovic
</p>
</footer>
</div>
</body>
</html>