Programming Language/HTML | CSS | JS
HTML 4์ผ์ฐจ ๊ณต๋ถ
chaerlo127
2022. 1. 10. 18:36
728x90
728x90
1. HTML Text Formatting
<!DOCTYPE html>
<html lang="eng">
<head></head>
<body>
<p> <b> hello</b></p>
<p> <strong> hello</strong></p>
<hr>
<p><i>hello</i></p>
<p><em>hello</em></p>
<hr>
<p><sub>hello</sub> <mark> how are you</mark><sup> Web Programming</sup></p>
<hr>
<p><small>it's small font</small></p>
<hr>
<p><del>delete</del> <ins>font</ins> </p>
</body>
</html>
<๋ณต์ต>
- <sub></sub>
- <sup></sup>
- <i></i> : ๊ธฐ์ธ๊ธฐ, ์ฃผ์ ๊ตฌ๋ถ
- <em></em> : ๊ฐ์กฐํ๊ณ ์ถ์ ๋
- <b></b> : ๊ตต๊ธฐ ๊ตต๊ฒ
- <strong></strong> : ์ค์ํ ๋ถ๋ถ ๊ตต๊ฒ
- <small></small>
- <mark></mark>: ํ๊ดํ , ์ค์ํ ๋ถ๋ถ
- <del></del> : ์ง์ฐ๊ธฐ
- <ins></ins> : ์ค ๊ธ๊ธฐ
2. HTML Quotations[์ธ์ฉ๋ฌธ]
<!DOCTYPE html>
<html lang="eng">
<head></head>
<body>
<h1>HTML studying</h1>
<!-- blockquote -->
<blockquote cite="https://monynony0203.tistory.com/17?category=1033374"> html study </blockquote>
<!-- quote -->
<p>hello, <q>html study</q></p>
<!-- abbr -->
<p> <abbr title="Structured Query Language">SQL</abbr></p>
<!-- address -->
<address>
Written by John Doe.<br>
</address>
<!-- cite -->
<p><cite>Monarisa</cite> by Leonardo da Vinci</p>
<!-- left to right -->
<bdo dir="ltr">This line will be written from right to left</bdo>
<!-- rigth to left -->
<bdo dir="rtl">This line will be written from right to left</bdo>
</body>
</html>
- <blockquote></blockquote> : ์ธ์ฉ ๋ธ๋ญ, cite: ์ธ์ฉ๋ฌธ ์ถ์ฒ
- <q></q>: ์งง์ ์ธ์ฉ๋ฌธ
- <abbr></abbr>
- <address></address> : ํ๊ทธ๋ ๋ฌธ์๋ ๊ธ์ ์ ์ ๋๋ ํ์ฌ์ ์ฐ๋ฝํ ์ ์๋ ์ ๋ณด๋ฅผ ๋ช ์ํ ๋ ์ฌ์ฉ, ํด๋น ๋ฌธ์์ ์ฐ๋ฝ ์ ๋ณด
- <cite></cite>์ฑ ์ด๋ ์์ , ์ํ, ์์ ์ํ ๋ฑ๊ณผ ๊ฐ์ ์ฐฝ์๋ฌผ์ ์ ๋ชฉ์ ์ ์
- <bdo></bdo> Bi-Directional Override, ์์ ์์์ ํ ์คํธ ๋ฐฉํฅ์ฑ(text directionality)์ ์ ์ํ ๋ ์ฌ์ฉ
728x90