1. 글꼴 는 font-family ¶
다 글꼴 다.
{font-family:글꼴}
둘 다 경는 먼 글꼴 를 가다.
{font-family:글꼴}
~cpp
<html>
<head>
<title>글꼴 </title>
</head>
<Style type="text/css">
font.01{font-family: "Arial Black", "Script"}
font.02{font-family: "바", ""}
</Style>
<body>
<b>
<font class="01">Css & Java Script</font><br><br>
<font class="02"> 바로 나냅다.</font><br><br>
</b>
</body>
</html>
font.01{font-family: "Arial Black", "Script"} 둘 나만 라 면 그 것 글꼴 된다.둘 다 경는 먼 글꼴 를 가다.
2. 글 기를 는 font-size ¶
는 는 글 기를 대로 다.
{font-size:대기|대기}
html과 달리 기 다.
{font-size:대기|대기}
~cpp
<html>
<head>
<title>문 기 </title>
</head>
<Style type="text/css">
body{font-size:10pt}
font.01{font-size:50pt}
font.02{font-size:6mm}
</Style>
<body>
<body><body>그 는 모든 문들 10pt로 되 다.<br>
<font class="01">CSS란 무가?</font><br><br>
<font class="02">리 말로 다.</font><br><br>
IE메뉴 문 기를 변 보<br>
변가 기 것다.
</body>
</html>
글꼴 기 되는 단는 다게 다. 단를 면 기본로 단를 다. html과 달리 기 다.
3. 글 기 는 font-style ¶
{font-style:}
~cpp
<html>
<head>
<title>글꼴 </title>
</head>
<Style type="text/css">
font.01{font-style:italic}
font.02{font-style:oblique}
</Style>
<body>
<b>
<font size="3" class="01">italic로 바뀝다.</font><br><br>
<font size="3" class="02">oblique로 바뀝다.</font><br><br>
</b>
</body>
</html>
normal(보), italic(릭), oblique(기)









