CSS
CSS
Ŭ ̵
ּ
ؽƮ
color
direction
backgroud-color
line-height
letter-spacing
text-align
text-decoration
text-indent
word-spacing
background-color
background-image
background-repeat
background-position
background-attachment
Font
ũ
Box Model
輱(border)
Ʈ(list)
HTML CSS ϴ 3

HTML CSS ϴ 3 ֽϴ.

  • ܺ Ÿ Ʈ(External Style Sheet)
  • Ÿ Ʈ(Internal Style Sheet)
  • HTML±׳ Ÿ (Inline Styles)

ܺ Ÿ Ʈ(External Style Sheet)

css Ȯڸ Ÿ Ʈ HTML Ͽ ϴ Դϴ.

<head>
 <link rel="stylesheet" type="text/css" href="mystyle.css">
</head>

Ȩ ü Ÿ ϰְ ϸ鼭 ÿ ϰ ǹǷ Ȩ ȿ شȭ ֽϴ.

ݸ ܺ Ÿ Ʈ ָ鼭 HTML ϱ⿡ 찡 ֽϴ. ׸ ܺ Ÿ Ʈ ġ ϹǷ css ϴ Ͽ찡 ʿմϴ.

׷ ұϰ Ȩ ܺ Ÿ Ʈ Ȱؾ մϴ.

Ÿ Ʈ(Internal Style Sheet)

HTML <head> </head>̿ Ÿ ϴ Դϴ.

<head>
 <style type="text/css">
 <!--
  body {font-size:9pt;}
 //-->
 </style>
</head>

HTML Ÿ Ź ־ , شǴ Ÿ Ҷ ϸ ˴ϴ.

HTML±׳ Ÿ (Inline Styles)

鿡 ؼ Դϴ. Ÿ ϰ HTML±׾ȿ ϴ Դϴ.

<p style="color:gray;"> ȸ ˴ϴ.</p>

ȸ ˴ϴ.

Ÿ и ׸ ̷ Ÿ ϰ ȿ ٶ ʴ Դϴ.

׷ ҽ ϴٴ ֱ⿡ ¸ Ҷ ַ ϰڽϴ.

Copyright © Homejjang.com All rights reserved.