如何在 HTML 中添加粗体文本?

htmlweb developmentfront end technology更新于 2025/8/15 1:48:17

要显示粗体文本,请使用 <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>

相关文章


有用资源