Search

ํ…์ŠคํŠธ์Šคํƒ€์ผ

ํ…์ŠคํŠธ์Šคํƒ€์ผ

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>ํ…์ŠคํŠธ ์Šคํƒ€์ผ</title> <style> /* ๊ธฐ๋ณธ ํ…์ŠคํŠธ ์Šคํƒ€์ผ */ body { /* ๊ธ€๊ผด ์ง€์ • */ font-family: Arial, Helvetica, sans-serif; /* ๊ธ€๊ผด ํฌ๊ธฐ */ font-size: 16px; /* ์ค„ ๊ฐ„๊ฒฉ */ line-height: 1.8; /* px๋‹จ์œ„, ๊ทธ๋ƒฅ์ˆซ์ž(๋ฐฐ์œจ) */ /* ์ƒ‰์ƒ */ color: #ff22ee; } h1 { font-size: 32px; /* ๊ธ€๊ผด ๊ตต๊ธฐ */ font-weight: lighter; /* (์–‡์€)100~900(๊ตต์€) */ /* lighter, normal, bold, bolder */ } p.bold { font-weight: bold; color: #22ffcc; } p.highlight { /* ๊ธ€๊ผด ์Šคํƒ€์ผ */ font-style: italic; /* normal, oblique, italic */ color: red; } a { /* ๊ธ€๊ผด ์žฅ์‹ */ text-decoration: none; /* none(์—†์Œ), underline(๋ฐ‘์ค„) overline(์œ—์ค„), line-through(์ทจ์†Œ์„ ) */ color: white; background-color: black; padding: 12px 24px; border-radius: 5px; } /* :hover ๊ฐ€์ƒ ์„ ํƒ์ž - ๋งˆ์šฐ์Šค ์˜ฌ๋ ธ์„ ๋•Œ ์ƒํƒœ ์„ ํƒ */ a:hover { box-shadow: 5px 5px 5px rgba(0,0,0,0.2); background-color: #222222; } </style> </head> <body> <h1>ํ…์ŠคํŠธ ์Šคํƒ€์ผ ์ง€์ •ํ•˜๊ธฐ</h1> <p>ํ…์ŠคํŠธ ์Šคํƒ€์ผ์„ ์ง€์ •ํ•˜๋Š” ๋ฌธ์žฅ์ž…๋‹ˆ๋‹ค.</p> <p class="bold">๊ฐ•์กฐํ•˜๋Š” ๋ฌธ์žฅ์ž…๋‹ˆ๋‹ค.</p> <p class="highlight">์ค‘์š”ํ•œ ๋ฌธ์žฅ์ž…๋‹ˆ๋‹ค.</p> <a href="https://์•Œํด.com">Button</a> </body> </html>
HTML
๋ณต์‚ฌ