'line-break' Example : line break : CSS Attributes and Javascript Style Properties HTML CSS TUTORIALS


HTML CSS TUTORIALS » CSS Attributes and Javascript Style Properties » line break »

 

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

    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo CSS Attributes and Javascript Style Properties
» line break