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