
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>The Basic Language of the Web: HTML</title>
</head>
<body>
<!--
<h1>The Basic Language of the Web: HTML</h1>
<h2>The Basic Language of the Web: HTML</h2>
<h3>The Basic Language of the Web: HTML</h3>
<h4>The Basic Language of the Web: HTML</h4>
<h5>The Basic Language of the Web: HTML</h5>
<h6>The Basic Language of the Web: HTML</h6>
-->
<header>
<h1>📘 The Code Magazine</h1>
<nav>
<a href="blog.html">Blog</a>
<a href="#">Challenges</a>
<a href="#">Flexbox</a>
<a href="#">CSS Grid</a>
</nav>
</header>
<article>
<header>
<h2>The Basic Language of the Web: HTML</h2>
<img
src="img/laura-jones.jpg"
alt="Headshot of Laura Jones"
height="50"
width="50"
/>
<p>Posted by <strong>Laura Jones</strong> on Monday, June 21st 2027</p>
<img
src="img/post-img.jpg"
alt="HTML code on a screen"
width="500"
height="200"
/>
</header>
<p>
All modern websites and web applications are built using three
<em>fundamental</em>
technologies: HTML, CSS and JavaScript. These are the languages of the
web.
</p>
<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>
<h3>What is HTML?</h3>
<p>
HTML stands for <strong>H</strong>yper<strong>T</strong>ext
<strong>M</strong>arkup <strong>L</strong>anguage. It's a markup
language that web developers use to structure and describe the content
of a webpage (not a programming language).
</p>
<p>
HTML consists of elements that describe different types of content:
paragraphs, links, headings, images, video, etc. Web browsers understand
HTML and render HTML code as websites.
</p>
<p>In HTML, each element is made up of 3 parts:</p>
<ol>
<li>The opening tag</li>
<li>The closing tag</li>
<li>The actual element</li>
</ol>
<p>
You can learn more at
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML"
target="_blank"
>MDN Web Docs</a
>.
</p>
<h3>Why should you learn HTML?</h3>
<p>
There are countless reasons for learning the fundamental language of the
web. Here are 5 of them:
</p>
<ul>
<li>To be able to use the fundamental web dev language</li>
<li>
To hand-craft beautiful websites instead of relying on tools like
Worpress or Wix
</li>
<li>To build web applications</li>
<li>To impress friends</li>
<li>To have fun 😃</li>
</ul>
<p>Hopefully you learned something new here. See you next time!</p>
</article>
<aside>
<h4>Related posts</h4>
<ul>
<li>
<img
src="img/related-1.jpg"
alt="Person programming"
width="75"
width="75"
/>
<a href="#">How to Learn Web Development</a>
<p>By Jonas Schmedtmann</p>
</li>
<li>
<img src="img/related-2.jpg" alt="Lightning" width="75" heigth="75" />
<a href="#">The Unknown Powers of CSS</a>
<p>By Jim Dillon</p>
</li>
<li>
<img
src="img/related-3.jpg"
alt="JavaScript code on a screen"
width="75"
height="75"
/>
<a href="#">Why JavaScript is Awesome</a>
<p>By Matilda</p>
</li>
</ul>
</aside>
<footer>Copyright © 2027 by The Code Magazine.</footer>
</body>
</html>
이 HTML 코드를 쉽고 자세하게 설명해드리겠습니다. 이 코드는 웹페이지의 기본 구조를 나타내며, 다양한 HTML 요소를 사용하여 잡지 스타일의 기사와 관련 게시물을 포함하고 있습니다. 단계별로 자세히 살펴보겠습니다.
<!DOCTYPE html>
<!DOCTYPE html> 선언은 브라우저에게 이 문서가 HTML5 문서임을 알리며, 올바른 렌더링을 보장합니다.<html><html lang="en">
lang="en": 문서의 언어를 영어로 설정하여 접근성과 SEO를 향상시킵니다.<head><head>
<meta charset="UTF-8" />
<title>The Basic Language of the Web: HTML</title>
</head>
<meta charset="UTF-8" />:
<title>:
<body><body>
<!--
<h1>The Basic Language of the Web: HTML</h1>
<h2>The Basic Language of the Web: HTML</h2>
<h3>The Basic Language of the Web: HTML</h3>
<h4>The Basic Language of the Web: HTML</h4>
<h5>The Basic Language of the Web: HTML</h5>
<h6>The Basic Language of the Web: HTML</h6>
-->
...
</body>
<!-- 주석 내용 --><h1>에서 <h6>까지의 다양한 크기의 헤딩을 보여줍니다. 현재는 비활성화되어 페이지에 표시되지 않습니다.<header><header>
<h1>📘 The Code Magazine</h1>
<nav>
<a href="blog.html">Blog</a>
<a href="#">Challenges</a>
<a href="#">Flexbox</a>
<a href="#">CSS Grid</a>
</nav>
</header>
<h1>:
네비게이션 <nav>:
<a href="...">:href="blog.html": "Blog" 페이지로 연결됩니다.href="#": 현재는 아무 곳으로도 연결되지 않는 자리 표시자 링크입니다.<article><article>
<header>
<h2>The Basic Language of the Web: HTML</h2>
...
</header>
...
</article>
<h2>: 기사의 제목을 소개합니다.<img
src="img/laura-jones.jpg"
alt="Headshot of Laura Jones"
height="50"
width="50"
/>
<p>Posted by <strong>Laura Jones</strong> on Monday, June 21st 2027</p>
<img
src="img/post-img.jpg"
alt="HTML code on a screen"
width="500"
height="200"
/>
작성자 이미지 <img>:
src: 이미지 파일의 경로입니다.alt: 이미지 로드 실패 시 표시되는 대체 텍스트입니다.height와 width로 이미지 크기를 지정합니다.작성자 정보 <p>:
<strong>: 작성자 이름을 강조합니다.기사 이미지 <img>:
<p>
All modern websites and web applications are built using three
<em>fundamental</em>
technologies: HTML, CSS and JavaScript. These are the languages of the
web.
</p>
<p>:<em>: "fundamental" 단어를 강조합니다.<h3>What is HTML?</h3>
<h3>: HTML에 대한 새로운 섹션을 소개합니다.<p>
HTML stands for <strong>H</strong>yper<strong>T</strong>ext
<strong>M</strong>arkup <strong>L</strong>anguage...
</p>
<strong>: "HTML" 약어의 각 글자를 강조하여 표시합니다.<ol><p>In HTML, each element is made up of 3 parts:</p>
<ol>
<li>The opening tag</li>
<li>The closing tag</li>
<li>The actual element</li>
</ol>
<ol>: 순서가 있는(번호 매겨진) 목록을 생성합니다.<li>: 각 목록 항목을 나타냅니다.<p>
You can learn more at
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTML"
target="_blank"
>MDN Web Docs</a
>.
</p>
<a>:href: MDN Web Docs의 HTML 페이지 URL입니다.target="_blank": 링크를 새 브라우저 탭에서 열도록 합니다.<ul><h3>Why should you learn HTML?</h3>
<p>
There are countless reasons for learning the fundamental language of the
web. Here are 5 of them:
</p>
<ul>
<li>To be able to use the fundamental web dev language</li>
<li>
To hand-craft beautiful websites instead of relying on tools like
Worpress or Wix
</li>
<li>To build web applications</li>
<li>To impress friends</li>
<li>To have fun 😃</li>
</ul>
<h3>: HTML을 배워야 하는 이유를 소개합니다.<ul>:<li>: 각 항목은 하나의 이유를 나타냅니다.<aside><aside>
<h4>Related posts</h4>
...
</aside>
<h4>: "Related posts" 섹션의 제목입니다.<ul>
<li>
<img
src="img/related-1.jpg"
alt="Person programming"
width="75"
width="75"
/>
<a href="#">How to Learn Web Development</a>
<p>By Jonas Schmedtmann</p>
</li>
...
</ul>
순서가 없는 목록 <ul>: 관련 기사를 나열합니다.
목록 항목 <li>:
<img>: 게시물을 나타내는 썸네일입니다.width 속성이 중복되었습니다; height="75"로 수정해야 합니다.<a>: 관련 게시물의 제목입니다.<p>: 게시물 작성자의 이름입니다.각 관련 게시물마다 반복되며, 적절한 내용과 이미지를 포함합니다.
<footer><footer>Copyright © 2027 by The Code Magazine.</footer>
©: 저작권 기호를 나타냅니다.<header>, <nav>, <article>, <aside>, <footer>와 같은 태그의 사용은 콘텐츠의 의미와 구조를 향상시킵니다.alt 속성: 이미지를 위한 대체 텍스트를 제공하여 스크린 리더를 사용하는 사용자에게 도움을 줍니다.lang 속성: 보조 기술이 콘텐츠의 언어를 이해하도록 돕습니다.heigth="75"는 height="75"로 수정해야 합니다.소개: 웹페이지는 사이트 제목과 다른 부분으로의 쉬운 접근을 위한 네비게이션 메뉴를 포함한 헤더로 시작합니다.
주요 기사:
관련 게시물:
푸터:
CSS를 사용한 스타일링:
인터랙티브 요소:
동적 콘텐츠:
이 HTML 코드는 기본적인 HTML 요소를 사용한 잘 구조화된 웹페이지의 예시입니다. 다음을 보여줍니다:
이 코드의 각 부분을 이해함으로써 웹페이지가 어떻게 구축되는지, 그리고 자신만의 페이지를 만드는 방법에 대한 통찰력을 얻을 수 있습니다.
궁금하신 점이나 추가로 설명이 필요한 부분이 있으시면 언제든지 말씀해주세요!