Skip to content

Commit 4fabe95

Browse files
committed
Section 2
Up to lecture 16 so far
1 parent 10de6bc commit 4fabe95

File tree

2 files changed

+110
-0
lines changed

2 files changed

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

0 commit comments

Comments
 (0)