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