HTML <글꼴> 태그
HTML5에서는 지원되지 않습니다.
<font>
태그는 HTML 4에서 글꼴, 글꼴 크기 및 텍스트 색상을 지정하는 데 사용되었습니다 .
대신 무엇을 사용할 것인가?
예시
텍스트 색상 설정(CSS 사용):
<p style="color:red">This is a paragraph.</p>
<p style="color:blue">This
is another paragraph.</p>
예시
텍스트 글꼴 설정(CSS 사용):
<p style="font-family:verdana">This is a paragraph.</p>
<p
style="font-family:'Courier New'">This is another paragraph.</p>
예시
텍스트 크기 설정(CSS 사용):
<p style="font-size:30px">This is a paragraph.</p>
<p
style="font-size:11px">This is another paragraph.</p>
CSS 튜토리얼에서 CSS 텍스트 및 CSS 글꼴 에 대한 자세한 정보를 찾을 수 있습니다 .