如何用 HTML 新增粗體文字?


要顯示粗體文字,請使用 <strong> 標籤。HTML <strong> 標籤用於強調重要文字。

示例

你可以嘗試執行以下程式碼,在 HTML 中實現 <strong> 標籤 −

<!Doctype html>
<html>
   <head>
      <title>HTML strong Tag</title>
   </head>
   <body>
      <p>This is an <strong>important</strong> text</p>
   </body>
</html>

更新日期:03-Mar-2020

1K+ 瀏覽

開啟你的 職業生涯

完成課程,獲得認證

開始
廣告
© . All rights reserved.