'line-break' Example : line break « CSS « HTML / CSS






'line-break' Example

    
<html>
<body>
<p id="myP">
Long long long long long long long 
Long long long long long long long 
Long long long long long long long </p>

<input type="button" 
       value="Set lineBreak to strict" 
       onclick="myP.style.lineBreak='strict'">
</body>
</html>

    
      
      








Related examples in the same category