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