nobr

Form

<nobr> ... </nobr>

Attributes

attribute default description
none none none

Support

Microsoft (MSDN)
[IE3 or later][Firefox 1 or later][Safari 1 or later][Opera 3 or later][Netscape 2 or later]

Explanation

The nobr tag specifies that text is prevented from starting a new line at the right edge of the browser window. It is supported by the Netscape 4 and below.

Related Tags

br_, wbr

Sample Code [Output]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=shift_jis">
<title>Sample</title>
</head>
<body>
<h1>Sample</h1>
<p>
<nobr>The section enclosed by the nobr tag doesn't start a new line even if it hits the right edge of the browser window.</nobr>
</p>
</body>
</html>