Skip to content

Commit ccdf5db

Browse files
committed
finish html fundamentals
1 parent 10de6bc commit ccdf5db

File tree

8 files changed

+120
-0
lines changed

8 files changed

+120
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<title>Blog</title>
6+
</head>
7+
<body>
8+
<h1>BLOG</h1>
9+
</body>
10+
</html>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<title>The Basic Language of the Web: HTML</title>
6+
</head>
7+
<body>
8+
<header>
9+
<h1>📘 The Code Magazine</h1>
10+
11+
<nav>
12+
<a href="blog.html">Blog</a>
13+
<a href="#">Challenges</a>
14+
<a href="#">Flexbox</a>
15+
<a href="#">CSS Grid</a>
16+
</nav>
17+
</header>
18+
19+
<article>
20+
<header>
21+
<h2>The Basic Language of the Web: HTML</h2>
22+
23+
<img
24+
src="img/laura-jones.jpg"
25+
width="50px"
26+
height="50px"
27+
alt="Headshot of Laura Jones"
28+
/>
29+
30+
<p>Posted by <strong>Laura Jones</strong> on Monday, June 21st 2027</p>
31+
32+
<img
33+
src="img/post-img.jpg"
34+
width="500"
35+
height="200"
36+
alt="HTML code on a screen"
37+
/>
38+
</header>
39+
40+
<p>
41+
All modern websites and web applications are built using three
42+
<em>fundamental</em> technologies: HTML, CSS and JavaScript. These are the
43+
languages of the web.
44+
</p>
45+
46+
<p>
47+
In this post, let's focus on HTML. We will learn what HTML is all about,
48+
and why you too should learn it.
49+
</p>
50+
51+
<h3>What is HTML?</h3>
52+
53+
<p>
54+
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
55+
web developers use to structure and describe the content of a webpage
56+
(not a programming language).
57+
</p>
58+
59+
<p>
60+
HTML consists of elements that describe different types of content:
61+
paragraphs, links, headings, images, video, etc. Web browsers understand
62+
HTML and render HTML code as websites.
63+
</p>
64+
65+
<p>In HTML, each element is made up of 3 parts:</p>
66+
<ol>
67+
<li>The opening tag</li>
68+
<li>The closing tag</li>
69+
<li>The actual element</li>
70+
</ol>
71+
72+
<p>
73+
You can learn more at the
74+
<a
75+
href="https://developer.mozilla.org/en-US/docs/Web/HTML"
76+
target="_blank"
77+
>MDN Web Docs</a
78+
>.
79+
</p>
80+
81+
<h3>Why should you learn HTML?</h3>
82+
83+
<p>
84+
There are countless reasons for learning the fundamental language of the
85+
web. Here are 5 of them:
86+
</p>
87+
88+
<ul>
89+
<li>To be able to use the fundamental web dev language</li>
90+
<li>
91+
To hand-craft beautiful websites instead of relying on tools like
92+
Worpress or Wix
93+
</li>
94+
<li>To build web applications</li>
95+
<li>To impress friends</li>
96+
<li>To have fun 😃</li>
97+
</ul>
98+
<p>Hopefully you learned something new here. See you next time!</p>
99+
</article>
100+
<aside>
101+
<h4>Reated posts</h4>
102+
<ul>
103+
<li><img src="img/related-1.jpg" width="75" height="75" alt="Person programming"><a href="#">How to Learn Web Development</a><p>By Jonas Schmedtmann</p></li>
104+
<li><img src="img/related-2.jpg" width="75" height="75" alt="Lightning"><a href="#">The Unknow Powers of CSS</a><p>By Jim Dillon</p></li>
105+
<li><img src="img/related-3.jpg" width="75" height="75" alt="JavaScript code on a screen"><a href="#">Why JavaScript is Awesome</a><p>By Matilda</p></li>
106+
</ul>
107+
</aside>
108+
<footer>Copyright &copy; 2027 by The Code Magazine.</footer>
109+
</body>
110+
</html>

0 commit comments

Comments
 (0)