如何在 HTML 中的部分中指示一個潛在的單詞斷點?


HTML <wbr> 標記定義了一個潛在的行中斷點(如果需要)。它代表“單詞斷點機會”。

示例

你可以嘗試執行以下程式碼來學習如何在 HTML 中實現 <wbr> 標記 −

<!DOCTYPE html>
<html>
   <head>
      <title>HTML wbr Tag</title>
   </head>
   <body>
      <wbr />The browser to extend the document window beyond the size
      of the viewing pane and the poor user must scroll right<wbr />
   </body>
</html>

更新於:02-Mar-2020

103 人瀏覽

開啟你的 職業生涯

完成課程獲得認證

開始吧
廣告
© . All rights reserved.