'clear' create space around the area of a 'br' element : br « Tags « HTML / CSS






'clear' create space around the area of a 'br' element

 
    
<HTML>
<head><Title>Example For clear</Title></head>
<BODY>
<img src="http://www.java2s.com/style/logo.png" 
     alt="This is a float-left image" 
     width="100"
     height="100"
     style="float:right">
     BR Clear
<br clear="left">

<img src="http://www.java2s.com/style/logo.png" 
     alt="This is a float-left image" 
     width="200" 
     height="200"
     style="float:left">
Here is the br element

<img src="http://www.java2s.com/style/logo.png" 
     alt="This is a float-left image"
     width="300" 
     height="300" 
     style="float:left">

</BODY>
</HTML>  
    
      
        
  








Related examples in the same category

1.'br' adds a new line to the web page
2.Line breaks
3.Hide the
for form layout
4.Double
with line-height to create a Linebreak