|
14 | 14 | </head>
|
15 | 15 | <body>
|
16 | 16 | <!-- Comment Block, this his how you do comments in html-->
|
17 |
| - <header class="main-header"> |
18 |
| - <!-- We can do inline CSS style like below |
| 17 | + <div class="container"> |
| 18 | + <header class="main-header"> |
| 19 | + <!-- We can do inline CSS style like below |
19 | 20 | <h1 style="color: blue">
|
20 | 21 | But we dont want do this
|
21 | 22 | -->
|
22 |
| - <h1>📘 The Code Magazine</h1> |
| 23 | + <h1>📘 The Code Magazine</h1> |
23 | 24 |
|
24 |
| - <nav> |
25 |
| - <a href="./pages/blog.html">Blog</a> |
26 |
| - <a href="./pages/challenges.html">Challenges</a> |
27 |
| - <a href="#">Fexbox</a> |
28 |
| - <a href="#">CSS Grid </a> |
29 |
| - </nav> |
30 |
| - </header> |
| 25 | + <nav> |
| 26 | + <a href="./pages/blog.html">Blog</a> |
| 27 | + <a href="./pages/challenges.html">Challenges</a> |
| 28 | + <a href="#">Fexbox</a> |
| 29 | + <a href="#">CSS Grid </a> |
| 30 | + </nav> |
| 31 | + </header> |
31 | 32 |
|
32 |
| - <article> |
33 |
| - <header> |
34 |
| - <h2>The Basic Langauge of The Web: HTML</h2> |
35 |
| - <img src="./imgs/laura-jones.jpg" src="the person who wrote this" width="50" height="50" /> |
36 |
| - <p id="author">Posted by <strong>Laura Jones </strong> on Monday, June 21st 2027</p> |
37 |
| - <br /> |
| 33 | + <article> |
| 34 | + <header class="post-header"> |
| 35 | + <h2>The Basic Langauge of The Web: HTML</h2> |
| 36 | + <img src="./imgs/laura-jones.jpg" src="the person who wrote this" width="50" height="50" /> |
| 37 | + <p id="author">Posted by <strong>Laura Jones </strong> on Monday, June 21st 2027</p> |
| 38 | + <br /> |
38 | 39 |
|
39 |
| - <img src="./imgs/post-img.jpg" alt="This is the voice of Satan" width="500" height="200" /> |
40 |
| - </header> |
41 |
| - <p> |
42 |
| - All modern websites and web applications are built using three <em>fundamental</em> technologies: HTML, CSS and |
43 |
| - JavaScript. These are the languages of the web. |
44 |
| - </p> |
45 |
| - <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> |
46 |
| - <h3>What is HTML?</h3> |
47 |
| - <p> |
48 |
| - <strong>HTML </strong> stands for <strong>H</strong>yper<strong>T</strong>ext <strong>M</strong>arkup |
49 |
| - <strong>L</strong>anguage. It's a markup language that web developers use to structure and describe the content |
50 |
| - of a webpage (not a programming language). |
51 |
| - </p> |
52 |
| - <p> |
53 |
| - HTML consists of elements that describe different types of content: paragraphs, links, headings, images, video, |
54 |
| - etc. Web browsers understand HTML and render HTML code as websites. |
55 |
| - </p> |
56 |
| - <p>In HTML, each element is made up of 3 parts:</p> |
57 |
| - <ol> |
58 |
| - <li class="first-li">The opening tag</li> |
59 |
| - <li>The closing tag</li> |
60 |
| - <li>The actual element</li> |
61 |
| - <li>You can learn more at the MDN Web Docs.</li> |
62 |
| - </ol> |
| 40 | + <img class="post-img" src="./imgs/post-img.jpg" alt="This is the voice of Satan" width="500" height="200" /> |
| 41 | + </header> |
| 42 | + <p> |
| 43 | + All modern websites and web applications are built using three <em>fundamental</em> technologies: HTML, CSS |
| 44 | + and JavaScript. These are the languages of the web. |
| 45 | + </p> |
| 46 | + <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> |
| 47 | + <h3>What is HTML?</h3> |
| 48 | + <p> |
| 49 | + <strong>HTML </strong> stands for <strong>H</strong>yper<strong>T</strong>ext <strong>M</strong>arkup |
| 50 | + <strong>L</strong>anguage. It's a markup language that web developers use to structure and describe the |
| 51 | + content of a webpage (not a programming language). |
| 52 | + </p> |
| 53 | + <p> |
| 54 | + HTML consists of elements that describe different types of content: paragraphs, links, headings, images, |
| 55 | + video, etc. Web browsers understand HTML and render HTML code as websites. |
| 56 | + </p> |
| 57 | + <p>In HTML, each element is made up of 3 parts:</p> |
| 58 | + <ol> |
| 59 | + <li class="first-li">The opening tag</li> |
| 60 | + <li>The closing tag</li> |
| 61 | + <li>The actual element</li> |
| 62 | + <li>You can learn more at the MDN Web Docs.</li> |
| 63 | + </ol> |
63 | 64 |
|
64 |
| - <p> |
65 |
| - You can learn more at the |
66 |
| - <a href="https://developer.mozilla.org/en-US/docs/Web/HTML" target="_blank">MDN Web Docs</a> |
67 |
| - </p> |
| 65 | + <p> |
| 66 | + You can learn more at the |
| 67 | + <a href="https://developer.mozilla.org/en-US/docs/Web/HTML" target="_blank">MDN Web Docs</a> |
| 68 | + </p> |
68 | 69 |
|
69 |
| - <h3>Why should you learn HTML</h3> |
| 70 | + <h3>Why should you learn HTML</h3> |
70 | 71 |
|
71 |
| - <p>There are countless reasons for learning the fundamental language of the web. Here are 5 of them:</p> |
| 72 | + <p>There are countless reasons for learning the fundamental language of the web. Here are 5 of them:</p> |
72 | 73 |
|
73 |
| - <ul> |
74 |
| - <li class="first-li">To be able to use the fundamental web dev language</li> |
75 |
| - <li>To hand-craft beautiful websites instead of relying on tools like Worpress or Wix</li> |
76 |
| - <li>To build web applications</li> |
77 |
| - <li>To impress friends To have fun 😃</li> |
78 |
| - </ul> |
79 |
| - <p>Hopefully you learned something new here. See you next time!</p> |
80 |
| - </article> |
81 |
| - <!--- Aside element is used for secondary information designed to compliment information--> |
82 |
| - <aside class="related-aside"> |
83 |
| - <h4><strong>Related Posts</strong></h4> |
84 |
| - <ul class="related-list"> |
85 |
| - <li> |
86 |
| - <img src="imgs/related-1.jpg" alt="How to Learn Web Development" height="50" width="50" /> |
87 |
| - <a href="#"> How to Learn Web Development</a> |
88 |
| - <p class="related-author">By Jonas Schmeltmann</p> |
89 |
| - </li> |
90 |
| - <br /> |
91 |
| - <li> |
92 |
| - <img src="imgs/related-2.jpg" alt="Unknown Power of CSS" height="50" width="50" /> |
93 |
| - <a href="#"> The Uknown Power of CSS</a> |
94 |
| - <p class="related-author">By Jonas Schmeltmann</p> |
95 |
| - </li> |
96 |
| - <br /> |
97 |
| - <li> |
98 |
| - <img src="imgs/related-3.jpg" alt="Why Javascript is Awsome" height="50" width="50" /> |
99 |
| - <a href="#"> Why Javascript is Awsome</a> |
100 |
| - <p class="related-author">By Jonas Schmeltmann</p> |
101 |
| - </li> |
102 |
| - </ul> |
103 |
| - </aside> |
| 74 | + <ul> |
| 75 | + <li class="first-li">To be able to use the fundamental web dev language</li> |
| 76 | + <li>To hand-craft beautiful websites instead of relying on tools like Worpress or Wix</li> |
| 77 | + <li>To build web applications</li> |
| 78 | + <li>To impress friends To have fun 😃</li> |
| 79 | + </ul> |
| 80 | + <p>Hopefully you learned something new here. See you next time!</p> |
| 81 | + </article> |
| 82 | + <!--- Aside element is used for secondary information designed to compliment information--> |
| 83 | + <aside class="related-aside"> |
| 84 | + <h4><strong>Related Posts</strong></h4> |
| 85 | + <ul class="related-list"> |
| 86 | + <li> |
| 87 | + <img src="imgs/related-1.jpg" alt="How to Learn Web Development" height="50" width="50" /> |
| 88 | + <a href="#"> How to Learn Web Development</a> |
| 89 | + <p class="related-author">By Jonas Schmeltmann</p> |
| 90 | + </li> |
| 91 | + <br /> |
| 92 | + <li> |
| 93 | + <img src="imgs/related-2.jpg" alt="Unknown Power of CSS" height="50" width="50" /> |
| 94 | + <a href="#"> The Uknown Power of CSS</a> |
| 95 | + <p class="related-author">By Jonas Schmeltmann</p> |
| 96 | + </li> |
| 97 | + <br /> |
| 98 | + <li> |
| 99 | + <img src="imgs/related-3.jpg" alt="Why Javascript is Awsome" height="50" width="50" /> |
| 100 | + <a href="#"> Why Javascript is Awsome</a> |
| 101 | + <p class="related-author">By Jonas Schmeltmann</p> |
| 102 | + </li> |
| 103 | + </ul> |
| 104 | + </aside> |
104 | 105 |
|
105 |
| - <footer> |
106 |
| - <p id="copyright" class="copyright text">Copyright © 2017 by The Code Magazine</p> |
107 |
| - </footer> |
| 106 | + <footer> |
| 107 | + <p id="copyright" class="copyright text">Copyright © 2017 by The Code Magazine</p> |
| 108 | + </footer> |
| 109 | + </div> |
108 | 110 | </body>
|
109 | 111 | </html>
|
0 commit comments