HTML CSS Reference/HTML Attributes Reference/clear — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
м (1 версия)
 
(нет различий)

Текущая версия на 08:20, 26 мая 2010

"clear" Example

    
<HTML>
<head><Title>Example For clear</Title></head>
<BODY>
<img src="http://www.wbex.ru/style/logo.png" 
     alt="This is a float-left image" 
     width="71"
     height="99"
     style="float:left">
     BR Clear
<br clear="left">
<img src="http://www.wbex.ru/style/logo.png" 
     alt="This is a float-left image" 
     width="79" 
     height="99"
     style="float:left">
Here is the br element
<img src="http://www.wbex.ru/style/logo.png" 
     alt="This is a float-left image"
     width="99" 
     height="80" 
     style="float:left">
</BODY>
</HTML>



clear is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<br>                                                          |
+----------------+--------------------------------------------------------------+



clear Possible Values

Possible Values
all          Text is moved directly below all floating objects.
left         Text is moved below all floating objects on the left side.
right        Text is moved below all floating objects on the right side.
no value     Floating text can be rendered on all sides.



"clear" Syntax and Note

Note:
    
Determines how to create space around the area of a <br> element.
    
Syntax:
    
<br clear="value">