
使用
这与
标记不同,即使在
示例
您可以尝试运行以下代码,以允许 HTML 中的封闭文本不出现中断 -
<!DOCTYPE html>
<html>
<head>
<title>HTML nobr Tag</title>
</head>
<body>
<nobr>This is a very long sequence of text that is forced to be
on a single line, even if doing so causes <wbr />
the browser to extend the document window beyond the size of the
viewing pane and the poor user must scroll right <wbr />
to read the entire line.
</nobr>
</body>
</html>

