CSS 中 font-family 屬性的使用方法


font-family 屬性用於改變字型字樣。可能的屬性值可以是任何字型字樣名稱。

<html>
   <head>
   </head>
   <body>
      <p style = "font-family:georgia,garamond,serif;">
         This text is rendered in either georgia, garamond, or the default serif font
         depending on which font you have at your system.
      </p>
   </body>
</html>

更新日期:2020 年 1 月 30 日

125 次瀏覽

開啟你的 職業生涯

透過完成此課程獲得認證

開始學習
廣告
© . All rights reserved.