如何在 HTML 中添加缩写?

htmlweb developmentfront end technology更新于 2025/8/14 7:08:17

HTML <abbr> 标签用于表示缩写。您可以尝试运行以下代码来了解如何在 HTML 中添加缩写 −

示例

<!DOCTYPE html>
<html>
   <head>
   <title>HTML abbr Tag</title>
   </head>
   <body>
      <p>
      <abbr title = "Private">pvt.</abbr>
      <br />
      <abbr title = "World Health Organization">WHO</abbr>
      promotes the global game.
      <br />
      </p>
   </body>
</html>

相关文章


有用资源