使用 CSS 設定字型斜體


要設定字型斜體,請使用 font-style 屬性。你可以嘗試執行以下程式碼來了解如何使用 font-style 屬性

示例

<html>
   <head>
   </head>
   <body>
      <p style = "font-style:italic;">
         This text is in italic style
      </p>
   </body>
</html>

更新日期:30-Jan-2020

299 次瀏覽

開啟你的 職業生涯

完成課程獲得認證

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