@@ -18,66 +18,47 @@ <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
33
34
< article >
34
35
< header class ="post-header ">
35
36
< h2 > The Basic Language of the Web: HTML</ h2 >
36
37
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
- />
38
+ < img src ="img/laura-jones.jpg " alt ="Headshot of Laura Jones " height ="50 " width ="50 " class ="author-img " />
39
+
40
+ < p id ="author " class ="author "> Posted by < strong > Laura Jones</ strong > on Monday, June 21st 2027</ p >
41
+
42
+ < img src ="img/post-img.jpg " alt ="HTML code on a screen " width ="500 " height ="200 " class ="post-img " />
55
43
< button > ❤️ Like</ button >
56
44
</ header >
57
45
58
46
< p >
59
47
All modern websites and web applications are built using three
60
48
< em > fundamental</ em >
61
- technologies: HTML, CSS and JavaScript. These are the languages of the
62
- web.
49
+ technologies: HTML, CSS and JavaScript. These are the languages of the web.
63
50
</ p >
64
51
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 >
52
+ < 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 >
69
53
70
54
< h3 > What is HTML?</ h3 >
71
55
< 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).
56
+ 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
57
+ web developers use to structure and describe the content of a webpage (not a programming language).
76
58
</ p >
77
59
< 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.
60
+ HTML consists of elements that describe different types of content: paragraphs, links, headings, images, video, etc. Web browsers understand
61
+ HTML and render HTML code as websites.
81
62
</ p >
82
63
< p > In HTML, each element is made up of 3 parts:</ p >
83
64
@@ -89,28 +70,16 @@ <h3>What is HTML?</h3>
89
70
90
71
< p >
91
72
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
- > .
73
+ < a href ="https://developer.mozilla.org/en-US/docs/Web/HTML " target ="_blank "> MDN Web Docs</ a > .
97
74
</ p >
98
75
99
76
< h3 > Why should you learn HTML?</ h3 >
100
77
101
- < p >
102
- There are countless reasons for learning the fundamental language of
103
- the web. Here are 5 of them:
104
- </ p >
78
+ < p > There are countless reasons for learning the fundamental language of the web. Here are 5 of them:</ p >
105
79
106
80
< 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 >
81
+ < li class ="first-li "> To be able to use the fundamental web dev language</ li >
82
+ < li > To hand-craft beautiful websites instead of relying on tools like Worpress or Wix</ li >
114
83
< li > To build web applications</ li >
115
84
< li > To impress friends</ li >
116
85
< li > To have fun 😃</ li >
@@ -124,42 +93,25 @@ <h4>Related posts</h4>
124
93
125
94
< ul class ="related ">
126
95
< li >
127
- < img
128
- src ="img/related-1.jpg "
129
- alt ="Person programming "
130
- width ="75 "
131
- height ="75 "
132
- />
96
+ < img src ="img/related-1.jpg " alt ="Person programming " width ="75 " height ="75 " />
133
97
< a href ="# "> How to Learn Web Development</ a >
134
98
< p class ="related-author "> By Jonas Schmedtmann</ p >
135
99
</ li >
136
100
< li >
137
- < img
138
- src ="img/related-2.jpg "
139
- alt ="Lightning "
140
- width ="75 "
141
- height ="75 "
142
- />
101
+ < img src ="img/related-2.jpg " alt ="Lightning " width ="75 " height ="75 " />
143
102
< a href ="# "> The Unknown Powers of CSS</ a >
144
103
< p class ="related-author "> By Jim Dillon</ p >
145
104
</ li >
146
105
< li >
147
- < img
148
- src ="img/related-3.jpg "
149
- alt ="JavaScript code on a screen "
150
- width ="75 "
151
- height ="75 "
152
- />
106
+ < img src ="img/related-3.jpg " alt ="JavaScript code on a screen " width ="75 " height ="75 " />
153
107
< a href ="# "> Why JavaScript is Awesome</ a >
154
108
< p class ="related-author "> By Matilda</ p >
155
109
</ li >
156
110
</ ul >
157
111
</ aside >
158
112
159
113
< footer >
160
- < p id ="copyright " class ="copyright text ">
161
- Copyright © 2027 by The Code Magazine.
162
- </ p >
114
+ < p id ="copyright " class ="copyright text "> Copyright © 2027 by The Code Magazine.</ p >
163
115
</ footer >
164
116
</ div >
165
117
</ body >
0 commit comments