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