15
15
< body >
16
16
<!-- Comment Block, this his how you do comments in html-->
17
17
< div class ="container ">
18
- < header class ="main-header ">
18
+ < header class ="main-header clearfix ">
19
19
<!-- We can do inline CSS style like below
20
20
<h1 style="color: blue">
21
21
But we dont want do this
@@ -28,32 +28,55 @@ <h1>📘 The Code Magazine</h1>
28
28
< a href ="# "> Flexbox</ a >
29
29
< a href ="# "> CSS Grid </ a >
30
30
</ nav >
31
+ < div class ="clear "> </ div >
32
+
31
33
< button > ❤Like</ button >
32
34
</ header >
33
35
34
36
< article >
35
37
< header class ="post-header ">
36
38
< h2 > The Basic Langauge of The Web: HTML</ h2 >
37
- < img src ="./imgs/laura-jones.jpg " alt ="the person who wrote this " width ="50 " height ="50 " />
38
- < p id ="author "> Posted by < strong > Laura Jones </ strong > on Monday, June 21st 2027</ p >
39
+ < img
40
+ src ="./imgs/laura-jones.jpg "
41
+ alt ="the person who wrote this "
42
+ width ="50 "
43
+ height ="50 "
44
+ class ="author-img "
45
+ />
46
+ < p id ="author " class ="author ">
47
+ Posted by < strong > Laura Jones </ strong > on Monday, June 21st 2027
48
+ </ p >
39
49
< br />
40
50
41
- < img class ="post-img " src ="./imgs/post-img.jpg " alt ="This is the voice of Satan " width ="500 " height ="200 " />
51
+ < img
52
+ class ="post-img "
53
+ src ="./imgs/post-img.jpg "
54
+ alt ="This is the voice of Satan "
55
+ width ="500 "
56
+ height ="200 "
57
+ />
42
58
</ header >
43
59
< p >
44
- All modern websites and web applications are built using three < em > fundamental</ em > technologies: HTML, CSS
45
- and JavaScript. These are the languages of the web.
60
+ All modern websites and web applications are built using three
61
+ < em > fundamental</ em > technologies: HTML, CSS and JavaScript. These are
62
+ the languages of the web.
63
+ </ p >
64
+ < p >
65
+ In this post, let's focus on HTML. We will learn what HTML is all
66
+ about, and why you too should learn it.
46
67
</ p >
47
- < 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 >
48
68
< h3 > What is HTML?</ h3 >
49
69
< p >
50
- < strong > HTML </ strong > stands for < strong > H</ strong > yper< strong > T</ strong > ext < strong > M</ strong > arkup
51
- < strong > L</ strong > anguage. It's a markup language that web developers use to structure and describe the
52
- content of a webpage (not a programming language).
70
+ < strong > HTML </ strong > stands for
71
+ < strong > H</ strong > yper< strong > T</ strong > ext < strong > M</ strong > arkup
72
+ < strong > L</ strong > anguage. It's a markup language that web developers
73
+ use to structure and describe the content of a webpage (not a
74
+ programming language).
53
75
</ p >
54
76
< p >
55
- HTML consists of elements that describe different types of content: paragraphs, links, headings, images,
56
- video, etc. Web browsers understand HTML and render HTML code as websites.
77
+ HTML consists of elements that describe different types of content:
78
+ paragraphs, links, headings, images, video, etc. Web browsers
79
+ understand HTML and render HTML code as websites.
57
80
</ p >
58
81
< p > In HTML, each element is made up of 3 parts:</ p >
59
82
< ol >
@@ -65,16 +88,28 @@ <h3>What is HTML?</h3>
65
88
66
89
< p >
67
90
You can learn more at the
68
- < a href ="https://developer.mozilla.org/en-US/docs/Web/HTML " target ="_blank "> MDN Web Docs</ a >
91
+ < a
92
+ href ="https://developer.mozilla.org/en-US/docs/Web/HTML "
93
+ target ="_blank "
94
+ > MDN Web Docs</ a
95
+ >
69
96
</ p >
70
97
71
98
< h3 > Why should you learn HTML</ h3 >
72
99
73
- < p > There are countless reasons for learning the fundamental language of the web. Here are 5 of them:</ p >
100
+ < p >
101
+ There are countless reasons for learning the fundamental language of
102
+ the web. Here are 5 of them:
103
+ </ p >
74
104
75
105
< ul >
76
- < li class ="first-li "> To be able to use the fundamental web dev language</ li >
77
- < li > To hand-craft beautiful websites instead of relying on tools like Worpress or Wix</ li >
106
+ < li class ="first-li ">
107
+ To be able to use the fundamental web dev language
108
+ </ li >
109
+ < li >
110
+ To hand-craft beautiful websites instead of relying on tools like
111
+ Worpress or Wix
112
+ </ li >
78
113
< li > To build web applications</ li >
79
114
< li > To impress friends To have fun 😃</ li >
80
115
</ ul >
@@ -85,26 +120,43 @@ <h3>Why should you learn HTML</h3>
85
120
< h4 > < strong > Related Posts</ strong > </ h4 >
86
121
< ul class ="related-list ">
87
122
< li >
88
- < img src ="imgs/related-1.jpg " alt ="How to Learn Web Development " height ="50 " width ="50 " />
123
+ < img
124
+ src ="imgs/related-1.jpg "
125
+ alt ="How to Learn Web Development "
126
+ height ="50 "
127
+ width ="50 "
128
+ />
89
129
< a href ="# "> How to Learn Web Development</ a >
90
130
< p class ="related-author "> By Jonas Schmeltmann</ p >
91
131
</ li >
92
132
93
133
< li >
94
- < img src ="imgs/related-2.jpg " alt ="Unknown Power of CSS " height ="50 " width ="50 " />
134
+ < img
135
+ src ="imgs/related-2.jpg "
136
+ alt ="Unknown Power of CSS "
137
+ height ="50 "
138
+ width ="50 "
139
+ />
95
140
< a href ="# "> The Uknown Power of CSS</ a >
96
141
< p class ="related-author "> By Jonas Schmeltmann</ p >
97
142
</ li >
98
143
< li >
99
- < img src ="imgs/related-3.jpg " alt ="Why Javascript is Awsome " height ="50 " width ="50 " />
144
+ < img
145
+ src ="imgs/related-3.jpg "
146
+ alt ="Why Javascript is Awsome "
147
+ height ="50 "
148
+ width ="50 "
149
+ />
100
150
< a href ="# "> Why Javascript is Awsome</ a >
101
151
< p class ="related-author "> By Jonas Schmeltmann</ p >
102
152
</ li >
103
153
</ ul >
104
154
</ aside >
105
155
106
156
< footer >
107
- < p id ="copyright " class ="copyright text "> Copyright © 2017 by The Code Magazine</ p >
157
+ < p id ="copyright " class ="copyright text ">
158
+ Copyright © 2017 by The Code Magazine
159
+ </ p >
108
160
</ footer >
109
161
</ div >
110
162
</ body >
0 commit comments