HTML CSS Reference/HTML Attributes Reference/nowrap
"nowrap" Example
<HTML>
<head><Title>Example For nowrap</Title></head>
<BODY>
<div id="Layer1">
Layer1. Layer1. Layer1. Layer1.
Layer1. Layer1. Layer1. Layer1.
Layer1. Layer1. Layer1. Layer1.
Layer1. Layer1. Layer1. Layer1. </div>
<div id="Layer2" nowrap="true">
Attribute nowrap is present in this div element"stag.
</div>
</BODY>
</HTML>
nowrap is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<body> <dd> |
| |<div> <dt> |
| |<td> <th> |
+----------------+--------------------------------------------------------------+
"nowrap" Syntax and Note
Note:
This attribute is similar to the <pre> element.
nowrap is a Boolean attribute, taking the values true and false.
It determines whether or not to perform word wrapping.
The HTML 4.0 standard favors using style sheet rules.
Syntax:
<element nowrap="value"> . . . </element>