|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8" /> |
| 5 | + <title>HTML第一课:基础级别(嘿嘿)</title> |
| 6 | + </head> |
| 7 | + |
| 8 | + <body> |
| 9 | + <header> |
| 10 | + <h1>📘 The Code Magazine</h1> |
| 11 | + |
| 12 | + <nav> |
| 13 | + <a href="blog.html" target="_blank">Blog</a> |
| 14 | + <a href="#" target="_blank">Challenage</a> |
| 15 | + <a href="#" target="_blank">Flexbox</a> |
| 16 | + <a href="#" target="_blank">CSS Grid</a> |
| 17 | + </nav> |
| 18 | + </header> |
| 19 | + |
| 20 | + <article> |
| 21 | + <h2>The Basic Language of the Web: HTML</h2> |
| 22 | + <img src="laura-jones.jpg" alt="图片炸了" width="50" height="50" /> |
| 23 | + <p>Posted by <strong>Laura Jones</strong> on Monday, June 21st 2027</p> |
| 24 | + <img src="post-img.jpg" alt="图片炸了" width="500" height="200" /> |
| 25 | + <p> |
| 26 | + All modern websites and web applications are built using three |
| 27 | + <em>fundamental</em> |
| 28 | + technologies: HTML, CSS and JavaScript. These are the languages of the |
| 29 | + web. |
| 30 | + </p> |
| 31 | + <p> |
| 32 | + In this post, let's focus on HTML. We will learn what HTML is all about, |
| 33 | + and why you too should learn it. |
| 34 | + </p> |
| 35 | + <h3>What is HTML?</h3> |
| 36 | + <p> |
| 37 | + HTML stands for <b>H</b>yper<b>T</b>ext <b>M</b>arkup <b>L</b>anguage. |
| 38 | + It's a markup language that web developers use to structure and describe |
| 39 | + the content of a webpage (not a programming language). |
| 40 | + </p> |
| 41 | + |
| 42 | + <p> |
| 43 | + HTML consists of elements that describe different types of content: |
| 44 | + paragraphs, links, headings, images, video, etc. Web browsers understand |
| 45 | + HTML and render HTML code as websites. |
| 46 | + </p> |
| 47 | + <p>In HTML, each element is made up of 3 parts:</p> |
| 48 | + <ol> |
| 49 | + <li>The opening tag</li> |
| 50 | + <li>The closing tag</li> |
| 51 | + <li>The actual element</li> |
| 52 | + </ol> |
| 53 | + <p> |
| 54 | + You can learn more at the |
| 55 | + <a href="https://www.baidu.com" target="_blank">MDN Web Docs.</a> |
| 56 | + </p> |
| 57 | + <h3>Why should you learn HTML?</h3> |
| 58 | + <p> |
| 59 | + There are countless reasons for learning the fundamental language of the |
| 60 | + web. Here are 5 of them: |
| 61 | + </p> |
| 62 | + |
| 63 | + <ul> |
| 64 | + <li>To be able to use the fundamental web dev language</li> |
| 65 | + <li> |
| 66 | + To hand-craft beautiful websites instead of relying on tools like |
| 67 | + Worpress or Wix |
| 68 | + </li> |
| 69 | + <li>To build web applications</li> |
| 70 | + <li>To impress friends</li> |
| 71 | + <li>To have fun 😃</li> |
| 72 | + </ul> |
| 73 | + |
| 74 | + <p>Hopefully you learned something new here. See you next time!</p> |
| 75 | + </article> |
| 76 | + </body> |
| 77 | +</html> |
0 commit comments