C# Rookiss Part6 ์น์๋ฒ : HTML
๐โโ๏ธHTML
atom.io์์ ๋ค์ด ๋ฐ์ ํ๋ก๊ทธ๋จ์ผ๋ก ๊ณต๋ถํจ!
w3schools.com/tags/
๐ชHTML
์ฃผ์ : <!-- -->
bold : <b> </b>
italic : <i> </i>
heading 1: <h1> </h1>
~ heading6: <h6> </h6>
underline: <u> </u>
bold(importance): <strong> <strong>
์กฐ๊ธ ์ค์ํ๋๋ผ๋ ๋ณด์ ํด์ค
ํ ์ค ๋์ฐ๊ธฐ (Line breaker) : <br>
๋จ๋ฝ ๊ฐํ (paragraph) : <p> </p>
์ด๋ฏธ์ง : <img src="img_ex.jpg" alt="It's ex" width="500" height="600">
๋งํฌ ๊ฑธ๊ธฐ : <a href="https://www.naver.com"> ๋ค์ด๋ฒ ์ด๊ธฐ </a>
์์ฐฝ์ผ๋ก ์ด๊ธฐ : <a href="https://www.naver.com" target="_blank" ๋ค์ด๋ฒ ์์ฐฝ์ผ๋ก ์ด๊ธฐ </a>
์ด๋ฏธ์ง๋ฅผ ๋๋ฌ์ ์์ฐฝ์ผ๋ก ์ด๊ธฐ : <a href="https://www.naver.com" target="_blank" <img src="img_ex.jpg" alt="It's ex" width="500" height="600"> </a>
- ๋ฆฌ์คํธ
๋ฆฌ์คํธ :
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
ordered
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
unordered
- ํ ์ด๋ธ
ํ ์ด๋ธ:
<table>
<tr>
<th>Month</th>
<th>Saving</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
</table>
- ์คํ์ผ
์คํ์ผ:
<style>
table, th, td {
border: 1px solid black;
}
</style>
- ํ ์ด๋ธ ํด๋, ๋ฐ๋, ํ
ํ ์ด๋ธ ํด๋, ๋ฐ๋, ํ:
<table>
<thead>
<tr>
<th>Month</th>
<th>Savind</th>
</tr>
</thead>
<tbody>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td$80</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>Sum</td>
<td>$180</td>
</tr>
</tfoot>
</table>
- ๊ตฌ์ญ
๊ตฌ์ญ ๋๋๊ธฐ (division) : <div> </div> ํค๋ : <head> </head> ๋ฐ๋ : <body> </body>
- ๋ฒํผ
๋ฒํผ : <button type=โbuttonโ onclick=โalert(โHello world!โ)>Click Me! </button> Click Me!์ ์ด๋ฏธ์ง๋ฅผ ๋ฃ๋ ๋ฑ ์์ฉ ๊ฐ๋ฅ