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