PHP前端开发

如何在HTML中指示一个段落中的潜在断词点?

百变鹏仔 4周前 (09-22) #HTML
文章标签 段落

HTML的标签定义了一个可能的换行点。这代表着单词断点机会。

示例

您可以尝试运行以下代码来学习如何在HTML中实现标签 −

<!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>