使用 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 次瀏覽

職業起航

參加培訓,獲得認證

開始吧
廣告