CSS中font-size属性的用法

font-size属性用于增加或减小字体的大小。font-size属性用于控制字体的大小。可能的值可以是xx小,x小,小,中,大,x大,xx大,小,大,像素大小或%。

<html>
   <head>
   </head>
   <body>
      <p style = "font-size:15px;">This font size is 15 pixels</p>
      <p style = "font-size:small;">This font size is small</p>
      <p style = "font-size:large;">This font size is large</p>
   </body>
</html>