|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8" /> |
| 5 | + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 7 | + <title>Document</title> |
| 8 | + </head> |
| 9 | + <body> |
| 10 | + <!-- HTML5 Header container --> |
| 11 | + <header> |
| 12 | + <h1>📘 The Code Magazine</h1> |
| 13 | + |
| 14 | + <!-- HTML5 Navigation container --> |
| 15 | + <nav> |
| 16 | + <a href="./blog.html">Blog</a> |
| 17 | + <a href="#">Challenges</a> |
| 18 | + <a href="#">Flexbox</a> |
| 19 | + <a href="#">CSS Grid</a> |
| 20 | + </nav> |
| 21 | + </header> |
| 22 | + |
| 23 | + <!-- HTML5 Article container --> |
| 24 | + <article> |
| 25 | + <header> |
| 26 | + <h2>The Basic Language of the Web: HTML</h2> |
| 27 | + <img |
| 28 | + src="img/laura-jones.jpg" |
| 29 | + alt="Post by Laura Jones" |
| 30 | + width="50" |
| 31 | + height="50" |
| 32 | + /> |
| 33 | + |
| 34 | + <p>Posted by <string>Laura Jones</string> on Monday, June 21st 2027</p> |
| 35 | + <img |
| 36 | + src="img/post-img.jpg" |
| 37 | + alt="HTML code on a screen" |
| 38 | + width="500" |
| 39 | + height="200" |
| 40 | + /> |
| 41 | + </header> |
| 42 | + <p> |
| 43 | + All modern websites and web applications are built using three |
| 44 | + <em>fundamental</em> |
| 45 | + technologies: HTML, CSS and JavaScript. These are the languages of the |
| 46 | + web. |
| 47 | + </p> |
| 48 | + <p> |
| 49 | + In this post, let's focus on HTML. We will learn what HTML is all about, |
| 50 | + and why you too should learn it. |
| 51 | + </p> |
| 52 | + |
| 53 | + <h3>What is HTML?</h3> |
| 54 | + <p> |
| 55 | + HTML stands for <strong>H</strong>yper<strong>T</strong>ext |
| 56 | + <strong>M</strong>arkup <strong>L</strong>anguage. It's a markup |
| 57 | + language that web developers use to structure and describe the content |
| 58 | + of a webpage (not a programming language). |
| 59 | + </p> |
| 60 | + <p> |
| 61 | + HTML consists of elements that describe different types of content: |
| 62 | + paragraphs, links, headings, images, video, etc. Web browsers understand |
| 63 | + HTML and render HTML code as websites. |
| 64 | + </p> |
| 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 | + <p> |
| 72 | + You can learn more at the |
| 73 | + <a |
| 74 | + href="https://developer.mozilla.org/en-US/docs/Web/HTML" |
| 75 | + target="_blank" |
| 76 | + > |
| 77 | + MDN Web Docs. |
| 78 | + </a> |
| 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 | + </article> |
| 99 | + |
| 100 | + <!-- HTML5 Secondary information not part of main article --> |
| 101 | + <aside> |
| 102 | + <h4>Related posts</h4> |
| 103 | + <ul> |
| 104 | + <li> |
| 105 | + <img src="img/related-1.jpg" alt="Person programing" width="75" height="75"/> |
| 106 | + <a href="#">How to Learn Web Development</a> |
| 107 | + <p>By JonesSchmedimann</p> |
| 108 | + </li> |
| 109 | + <li> |
| 110 | + <img src="img/related-2.jpg" alt="Lighting" width="75" height="75"/> |
| 111 | + <a href="#">The Unknow Powers of CSS</a> |
| 112 | + <p>By Jim Dillon</p> |
| 113 | + </li> |
| 114 | + <li> |
| 115 | + <img src="img/related-3.jpg" alt="Javascript code on a screen" width="75" height="75"/> |
| 116 | + <a href="#">Why JavaScript is Awesome</a> |
| 117 | + <p>By Matilda</p> |
| 118 | + </li> |
| 119 | + </ul> |
| 120 | + </ul> |
| 121 | + </ul> |
| 122 | + </aside> |
| 123 | + |
| 124 | + <!-- HTML5 Page footer--> |
| 125 | + <footer>Copyright © 2027 by The Code Magazine</footer> |
| 126 | + </body> |
| 127 | +</html> |
0 commit comments