HTML 태그 - font
본문
HTML 태그 - font
<font>태그는 문서의 글꼴 색상,크기 등을 정의할 때 사용합니다. 중단된 태그입니다.
속성
color : 글꼴의 색상을 지정합니다.
face : 글꼴종류를 지정합니다.
size : 글꼴크기를 지정합니다.
샘플
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="author" content="코리아뉴스" />
<title> html공부 </title>
<link rel="stylesheet" type="text/css" href="default.css" / >
<style type="text/css">
body {
color:red;
}
</style>
</head>
<body>
<section>
<h1>font태그</h1>
<p> <font color="#ff0000" size="12pt" face="굴림체" > 중단된 태그 </font> </p>
</section>
<div id="related">
<p>영역 </p>
</div>
<footer>
<address> 전화 : 031-574-3659, E-mail : master@koreanews.com </address>
Copyright ⓒ 2013 Koreanews co., All Rights Reserved.
</footer>
</body>
</html>
- 이전글HTML 태그 - footer 14.12.11
- 다음글HTML 태그 - figure 14.12.11