Using this property can make your font more legible. The idea is (1) to not set the font size of the BODY element (in HTML), but use the default size of the device, because that is a size that the reader can comfortably read; and (2) express font sizes of other elements in em: H1 {font-size: 2.5em} to make the H1 2½ times as big as the normal, body font. [html/css]글꼴 크기를 지정하는 font-size 속성(px, pt, %, em 차이) css에서는 글꼴 크기를 지정할 때 font-size 속성을 사용합니다. The ex unit.element { font-size: 20ex; } For ex units, 1ex would be equal to the computed height of the lowercase letter x of the root element. A short guide on when and when not to use inline CSS styles in HTML. The font-sizeproperty is specified in one of the following ways: 1. You can specify font size in any of the following ways: The text font size property is used to set how big or small will be the text of your page. 定义和用法. To change the font size in HTML, use the style attribute. As one of the absolute-size or relative-sizekeywords 2. font 속성은 다음과 같은 순서로 세부 속성을 한번에 기술합니다.. font: font-style font-variant font-weight font-size/line-height font-family font-style. 다음과 같이 table의 font-size 값을 픽셀.. It can be defined by either px, em, or pt. These weights are dependent on weight subsets of a font being available. This piece is the first in a series of HTML 4.01 tutorials. There are eight possible values. 저작자표시 비영리. You can take control over the font size of your Web page using the font-size property of HTML's style language, Cascading Style Sheets. In Deprecated, HTML Attributes. (adsbygoogle = window.adsbygoogle || []).push({}); 왼쪽이 body{ font-size: 100%} 화면이고, 오른쪽이 body{ font-size: 120%} 화면입니다.