You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: projectfolder/02-HTML-Fundamentals/index.html
+13-11Lines changed: 13 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
<htmllang="en">
3
3
<head>
4
4
<metacharset="UTF-8" />
5
-
<title>The Basic Langauge of The Web: HTML</title>
5
+
<titleclass="article-title">The Basic Language of The Web: HTML</title>
6
6
<!-- Another CSS option is the style element and declare your CSS in there. This can work, but if you have a lot of CSS code, the html file becomes a longigated pain in the ass
7
7
<style>
8
8
h1 {
@@ -14,7 +14,7 @@
14
14
</head>
15
15
<body>
16
16
<!-- Comment Block, this his how you do comments in html-->
17
-
<header>
17
+
<headerclass="main-header">
18
18
<!-- We can do inline CSS style like below
19
19
<h1 style="color: blue">
20
20
But we dont want do this
@@ -33,7 +33,7 @@ <h1>📘 The Code Magazine</h1>
33
33
<header>
34
34
<h2>The Basic Langauge of The Web: HTML</h2>
35
35
<imgsrc="./imgs/laura-jones.jpg" src="the person who wrote this" width="50" height="50" />
36
-
<p>Posted by <strong>Laura Jones </strong> on Monday, June 21st 2027</p>
36
+
<pid="author">Posted by <strong>Laura Jones </strong> on Monday, June 21st 2027</p>
37
37
<br/>
38
38
39
39
<imgsrc="./imgs/post-img.jpg" alt="This is the voice of Satan" width="500" height="200" />
@@ -79,29 +79,31 @@ <h3>Why should you learn HTML</h3>
79
79
<p>Hopefully you learned something new here. See you next time!</p>
80
80
</article>
81
81
<!--- Aside element is used for secondary information designed to compliment information-->
82
-
<asie>
83
-
<h3><strong>Related Post</strong></h3>
84
-
<ul>
82
+
<asideclass="related-aside">
83
+
<h4><strong>Related Posts</strong></h4>
84
+
<ulclass="related-list">
85
85
<li>
86
86
<imgsrc="imgs/related-1.jpg" alt="How to Learn Web Development" height="50" width="50" />
87
87
<ahref="#"> How to Learn Web Development</a>
88
-
<p>By Jonas Schmeltmann</p>
88
+
<pclass="related-author">By Jonas Schmeltmann</p>
89
89
</li>
90
90
<br/>
91
91
<li>
92
92
<imgsrc="imgs/related-2.jpg" alt="Unknown Power of CSS" height="50" width="50" />
93
93
<ahref="#"> The Uknown Power of CSS</a>
94
-
<p>By Jonas Schmeltmann</p>
94
+
<pclass="related-author">By Jonas Schmeltmann</p>
95
95
</li>
96
96
<br/>
97
97
<li>
98
98
<imgsrc="imgs/related-3.jpg" alt="Why Javascript is Awsome" height="50" width="50" />
0 commit comments