*์ด ํฌ์คํ ์ ์ํ์ฝ๋ฉ WEB1 (https://opentutorials.org/course/3084) ์๊ฐ๋ด์ฉ์ ๊ธฐ๋ฐ์ผ๋ก ์์ฑ๋์์ต๋๋ค.
<!DOCTYPE html>
ํด๋น ๋ฌธ์๋ด์ฉ์ด HTML๋ก ์์ฑํ์์ ์ ์ธ
- <html> </html>๋ก ํฌ๊ฒ ๊ฐ์ธ์ฃผ๊ธฐ
<head>
<title>WEB1 - HTML</title>
<meta charset="utf-8">
</head>
๋ณธ๊ฒฉ ๋ด์ฉ ์์ฑ ์ , <head> ์ ๋ค์ด๊ฐ ๋ด์ฉ
- <title> </title> ์ธํฐ๋ท ํญ ์ ๋ชฉ ์ค์
- <meta charset="utf-8"> ํ๊ธ์ด ์๋ ๊ฒฝ์ฐ, utf-8 ํ์ ์ผ๋ก ์ง์ ํ์
<body>
<h1><a href="index.html">WEB</a></h1>
<img src="https://s3-ap-northeast-2.amazonaws.com/opentutorials-user-file/module/3135/7648.png" width="100%">
<ol>
<li><a href="1.html">HTML</a></li>
<li><a href="2.html">CSS</a></li>
<li><a href="3.html">JavaScript</a></li>
</ol>
<input type="checkbox">
<p>
<iframe width="560" height="315" src="https://www.youtube.com/embed/jSJM9iOiQ1g" frameborder="0" allowfullscreen></iframe>
</p>
<p style="margin-top:45px;">
<a href="https://www.w3.org/TR/html5/" target="_blank" title="html5 specification">Hypertext Markup Language (HTML)</a> is the standard markup language for
<strong>creating <u>web</u> pages</strong>
and web applications.</p>
<h1></h1> ~ <h6></h6> : ํค๋๋ผ์ธ 1~6๋จ๊ณ ์ง์
<p> </p> : ๋จ๋ฝ ์ค์
- ๋ด๋ถ์์ CSS๋ก ์คํ์ผ ์ค์ ๊ฐ๋ฅ (display, margin-top, margin-bottom, margin-left, margin-right)
<li> </li> : ๋ชฉ๋ก ๋ง๋ค๊ธฐ
- <ul></ul> : ์์๊ฐ ์ ํด์ ธ ์์ง ์์ ๋ชฉ๋ก (์ ๋ชฉ๋ก ์์ฑ)
- <ol></ol> : ์์๊ฐ ์ ํด์ง ๋ชฉ๋ก (1. 2. ํ์์ ๋ชฉ๋ก ์์ฑ)
- <ul> ๋๋ <ol> ํ๊ทธ๋ก ๊ฐ์ธ๊ณ ๋ด๋ถ์ <li>๋ก ๋ชฉ๋ก ์์ฑํด์ผ ํจโผ๏ธ
<input type=" "> : ๋ค์ํ ์์ฑ ์ฝ์ ๊ฐ๋ฅ
- button, checkbox, color, date, datetime-local, email, file, hidden, image, month, number, password, range, reset, search, submit, tel, text, time, url, week
<img> : ์ฌ์ง ์ฝ์ (๋ซ์ง ์๋ ํ๊ทธ)
- src ์์ฑ์ ๋งํฌ ๋๋ ํด๋์ ์๋ ์ฌ์งํ์ผ ์ด๋ฆ ์ฝ์
- width, height๋ก ํฌ๊ธฐ ์กฐ์
<iframe></iframe> : ๋์์ ์ฝ์
- width, height๋ก ํฌ๊ธฐ ์กฐ์
- src ์์ฑ์ ๋งํฌ ์ฝ์
- frameborder, allowfullscreen ๋ฑ ์์ฑ ์ง์ ๊ฐ๋ฅ
<a> </a> : ๋งํฌ ์ฝ์
- href์ ๋งํฌ ์ง์
- target์ผ๋ก ์ด๋ ํญ์์ ํ์ด์ง๋ฅผ ์ด์ง ์ค์ (_blank, _self, _parent, _top ๋ฑ)
- title๋ก ์ปค์๊ฐ ์ ๊ทผํ ๊ฒฝ์ฐ์ ๋จ๋ ์ ๋ชฉ ์ค์
๊ธฐํ ํ๊ทธ
- <br> : ์ค๋ฐ๊ฟ ํ๊ทธ (๋ซ์ง ์๋ ํ๊ทธ)
- <strong> </strong> : ๊ตต๊ฒ
- <u> </u> : ๋ฐ์ค
โญHTML ๋ฌธ์ ๊ฒฐ๊ณผ ํ์ธํ๊ธฐ โญ
์ธํฐ๋ท ๋ธ๋ผ์ฐ์ ์์ Ctrl+O๋ก ํด๋น html ๋ฌธ์ ์ด๊ธฐ ๊ฐ๋ฅ

Visual Studio Code ๊ธฐ์ค)
Live Server Extension ์ค์น ํ, ์ฐ์ธก ํ๋จ์ Go live ๋๋ฅด๋ฉด ์ฐฝ ์ด๋ฆฌ๋ฉด์ ํ์ธ๊ฐ๋ฅ
โ ์ฝ๋ ์ ์ฅ์, ๋ฐ๋ก ์๋ก๊ณ ์นจ๋๊ธฐ ๋๋ฌธ์ ์ฝ๋๋ฅผ ์์ ํ๋ฉด์ ํ์ธํ๊ธฐ์ ํธ๋ฆฌ
