웹 글꼴은 로컬 시스템에 설치되지 않은 CSS의 글꼴을 허용하는 데 사용됩니다.
예시
다음 코드는 글꼴의 샘플 코드를 보여줍니다.
<html>
<head>
<style>
@font-face {
font-family: myFirstFont;
src: url(/css/font/SansationLight.woff);
}
div {
font-family: myFirstFont;
}
</Style>
</head>
<body>
<div>This is the example of font face with CSS3.</div>
<p><b>Original Text :</b>This is the example of font face with CSS3.</p>
</body>
</html> 출력
