HTML CSS Reference/HTML Attributes Reference/clear

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

"clear" Example

   <source lang="html4strict">
   

<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


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


     </source>
   
  


clear is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |
| +----------------+--------------------------------------------------------------+

     </source>
   
  


clear Possible Values

   <source lang="html4strict">

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.


     </source>
   
  


"clear" Syntax and Note

   <source lang="html4strict">

Note:

Determines how to create space around the area of a
element.

Syntax:



     </source>