1
1
<!DOCTYPE html>
2
2
< html lang ="en ">
3
- < head >
4
- < meta charset ="UTF-8 " />
5
- < link href ="style.css " rel ="stylesheet " />
3
+ < head >
4
+ < meta charset ="UTF-8 " />
5
+ < link href ="style.css " rel ="stylesheet " />
6
6
7
- < title > The Basic Language of the Web: HTML</ title >
8
- </ head >
7
+ < title > The Basic Language of the Web: HTML</ title >
8
+ </ head >
9
9
10
- < body >
11
- <!--
10
+ < body >
11
+ <!--
12
12
<h1>The Basic Language of the Web: HTML</h1>
13
13
<h2>The Basic Language of the Web: HTML</h2>
14
14
<h3>The Basic Language of the Web: HTML</h3>
@@ -17,150 +17,163 @@ <h5>The Basic Language of the Web: HTML</h5>
17
17
<h6>The Basic Language of the Web: HTML</h6>
18
18
-->
19
19
20
- < div class ="container ">
21
- < header class ="main-header ">
22
- < h1 > 📘 The Code Magazine</ h1 >
23
-
24
- < nav >
25
- <!-- <strong>This is the navigation</strong> -->
26
- < a href ="blog.html "> Blog</ a >
27
- < a href ="# "> Challenges</ a >
28
- < a href ="# "> Flexbox</ a >
29
- < a href ="# "> CSS Grid</ a >
30
- </ nav >
31
- </ header >
32
-
33
- < article >
34
- < header class ="post-header ">
35
- < h2 > The Basic Language of the Web: HTML</ h2 >
36
-
37
- < img
38
- src ="img/laura-jones.jpg "
39
- alt ="Headshot of Laura Jones "
40
- height ="50 "
41
- width ="50 "
42
- />
43
-
44
- < p id ="author ">
45
- Posted by < strong > Laura Jones</ strong > on Monday, June 21st 2027
46
- </ p >
47
-
48
- < img
49
- src ="img/post-img.jpg "
50
- alt ="HTML code on a screen "
51
- width ="500 "
52
- height ="200 "
53
- class ="post-img "
54
- />
55
- < button > ❤️ Like</ button >
56
- </ header >
57
-
58
- < p >
59
- All modern websites and web applications are built using three
60
- < em > fundamental</ em >
61
- technologies: HTML, CSS and JavaScript. These are the languages of the
62
- web.
63
- </ p >
64
-
65
- < p >
66
- In this post, let's focus on HTML. We will learn what HTML is all
67
- about, and why you too should learn it.
68
- </ p >
69
-
70
- < h3 > What is HTML?</ h3 >
71
- < p >
72
- HTML stands for < strong > H</ strong > yper< strong > T</ strong > ext
73
- < strong > M</ strong > arkup < strong > L</ strong > anguage. It's a markup
74
- language that web developers use to structure and describe the content
75
- of a webpage (not a programming language).
76
- </ p >
77
- < p >
78
- HTML consists of elements that describe different types of content:
79
- paragraphs, links, headings, images, video, etc. Web browsers
80
- understand HTML and render HTML code as websites.
81
- </ p >
82
- < p > In HTML, each element is made up of 3 parts:</ p >
83
-
84
- < ol >
85
- < li class ="first-li "> The opening tag</ li >
86
- < li > The closing tag</ li >
87
- < li > The actual element</ li >
88
- </ ol >
89
-
90
- < p >
91
- You can learn more at
92
- < a
93
- href ="https://developer.mozilla.org/en-US/docs/Web/HTML "
94
- target ="_blank "
95
- > MDN Web Docs</ a
96
- > .
97
- </ p >
98
-
99
- < h3 > Why should you learn HTML?</ h3 >
100
-
101
- < p >
102
- There are countless reasons for learning the fundamental language of
103
- the web. Here are 5 of them:
104
- </ p >
105
-
106
- < ul >
107
- < li class ="first-li ">
108
- To be able to use the fundamental web dev language
109
- </ li >
110
- < li >
111
- To hand-craft beautiful websites instead of relying on tools like
112
- Worpress or Wix
113
- </ li >
114
- < li > To build web applications</ li >
115
- < li > To impress friends</ li >
116
- < li > To have fun 😃</ li >
117
- </ ul >
118
-
119
- < p > Hopefully you learned something new here. See you next time!</ p >
120
- </ article >
121
-
122
- < aside >
123
- < h4 > Related posts</ h4 >
124
-
125
- < ul class ="related ">
126
- < li >
127
- < img
128
- src ="img/related-1.jpg "
129
- alt ="Person programming "
130
- width ="75 "
131
- height ="75 "
132
- />
133
- < a href ="# "> How to Learn Web Development</ a >
134
- < p class ="related-author "> By Jonas Schmedtmann</ p >
135
- </ li >
136
- < li >
137
- < img
138
- src ="img/related-2.jpg "
139
- alt ="Lightning "
140
- width ="75 "
141
- height ="75 "
142
- />
143
- < a href ="# "> The Unknown Powers of CSS</ a >
144
- < p class ="related-author "> By Jim Dillon</ p >
145
- </ li >
146
- < li >
147
- < img
148
- src ="img/related-3.jpg "
149
- alt ="JavaScript code on a screen "
150
- width ="75 "
151
- height ="75 "
152
- />
153
- < a href ="# "> Why JavaScript is Awesome</ a >
154
- < p class ="related-author "> By Matilda</ p >
155
- </ li >
156
- </ ul >
157
- </ aside >
158
-
159
- < footer >
160
- < p id ="copyright " class ="copyright text ">
161
- Copyright © 2027 by The Code Magazine.
162
- </ p >
163
- </ footer >
164
- </ div >
165
- </ body >
20
+ < div class ="container ">
21
+ < header class ="main-header clear-fix ">
22
+ < h1 class ="page-title "> 📘 The Code Magazine</ h1 >
23
+
24
+ < nav class ="page-nav ">
25
+ <!-- <strong>This is the navigation</strong> -->
26
+ < a href ="blog.html "> Blog</ a >
27
+ < a href ="# "> Challenges</ a >
28
+ < a href ="# "> Flexbox</ a >
29
+ < a href ="# "> CSS Grid</ a >
30
+ </ nav >
31
+
32
+ <!-- Thats a Bad Practice to clear floats -->
33
+ <!-- <div class="clear"></div> -->
34
+ </ header >
35
+
36
+ < article class ="post-content ">
37
+ < header class ="post-header ">
38
+ < h2 class ="post-title ">
39
+ The Basic Language of the Web: HTML
40
+ </ h2 >
41
+
42
+ < img
43
+ src ="img/laura-jones.jpg "
44
+ alt ="Headshot of Laura Jones "
45
+ height ="50 "
46
+ width ="50 "
47
+ class ="author-image "
48
+ />
49
+
50
+ < p id ="author " class ="author ">
51
+ Posted by < strong > Laura Jones</ strong > on Monday, June
52
+ 21st 2027
53
+ </ p >
54
+
55
+ < img
56
+ src ="img/post-img.jpg "
57
+ alt ="HTML code on a screen "
58
+ width ="500 "
59
+ height ="200 "
60
+ class ="post-img "
61
+ />
62
+ < button > ❤️ Like</ button >
63
+ </ header >
64
+
65
+ < p >
66
+ All modern websites and web applications are built using
67
+ three
68
+ < em > fundamental</ em >
69
+ technologies: HTML, CSS and JavaScript. These are the
70
+ languages of the web.
71
+ </ p >
72
+
73
+ < p >
74
+ In this post, let's focus on HTML. We will learn what HTML
75
+ is all about, and why you too should learn it.
76
+ </ p >
77
+
78
+ < h3 > What is HTML?</ h3 >
79
+ < p >
80
+ HTML stands for
81
+ < strong > H</ strong > yper< strong > T</ strong > ext
82
+ < strong > M</ strong > arkup < strong > L</ strong > anguage. It's a
83
+ markup language that web developers use to structure and
84
+ describe the content of a webpage (not a programming
85
+ language).
86
+ </ p >
87
+ < p >
88
+ HTML consists of elements that describe different types of
89
+ content: paragraphs, links, headings, images, video, etc.
90
+ Web browsers understand HTML and render HTML code as
91
+ websites.
92
+ </ p >
93
+ < p > In HTML, each element is made up of 3 parts:</ p >
94
+
95
+ < ol >
96
+ < li class ="first-li "> The opening tag</ li >
97
+ < li > The closing tag</ li >
98
+ < li > The actual element</ li >
99
+ </ ol >
100
+
101
+ < p >
102
+ You can learn more at
103
+ < a
104
+ href ="https://developer.mozilla.org/en-US/docs/Web/HTML "
105
+ target ="_blank "
106
+ > MDN Web Docs</ a
107
+ > .
108
+ </ p >
109
+
110
+ < h3 > Why should you learn HTML?</ h3 >
111
+
112
+ < p >
113
+ There are countless reasons for learning the fundamental
114
+ language of the web. Here are 5 of them:
115
+ </ p >
116
+
117
+ < ul >
118
+ < li class ="first-li ">
119
+ To be able to use the fundamental web dev language
120
+ </ li >
121
+ < li >
122
+ To hand-craft beautiful websites instead of relying on
123
+ tools like Worpress or Wix
124
+ </ li >
125
+ < li > To build web applications</ li >
126
+ < li > To impress friends</ li >
127
+ < li > To have fun 😃</ li >
128
+ </ ul >
129
+
130
+ < p >
131
+ Hopefully you learned something new here. See you next time!
132
+ </ p >
133
+ </ article >
134
+
135
+ < aside class ="related-posts ">
136
+ < h4 > Related posts</ h4 >
137
+
138
+ < ul class ="related ">
139
+ < li >
140
+ < img
141
+ src ="img/related-1.jpg "
142
+ alt ="Person programming "
143
+ width ="75 "
144
+ height ="75 "
145
+ />
146
+ < a href ="# "> How to Learn Web Development</ a >
147
+ < p class ="related-author "> By Jonas Schmedtmann</ p >
148
+ </ li >
149
+ < li >
150
+ < img
151
+ src ="img/related-2.jpg "
152
+ alt ="Lightning "
153
+ width ="75 "
154
+ height ="75 "
155
+ />
156
+ < a href ="# "> The Unknown Powers of CSS</ a >
157
+ < p class ="related-author "> By Jim Dillon</ p >
158
+ </ li >
159
+ < li >
160
+ < img
161
+ src ="img/related-3.jpg "
162
+ alt ="JavaScript code on a screen "
163
+ width ="75 "
164
+ height ="75 "
165
+ />
166
+ < a href ="# "> Why JavaScript is Awesome</ a >
167
+ < p class ="related-author "> By Matilda</ p >
168
+ </ li >
169
+ </ ul >
170
+ </ aside >
171
+
172
+ < footer class ="copyright ">
173
+ < p id ="copyright " class ="copyright text ">
174
+ Copyright © 2027 by The Code Magazine.
175
+ </ p >
176
+ </ footer >
177
+ </ div >
178
+ </ body >
166
179
</ html >
0 commit comments