HTML CSS Reference/HTML Attributes Reference/background

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

"background" Example

   <source lang="html4strict">
   

<HTML> <Title>Example For background</Title> <body id="myBody"

     bgproperties="fixed"
     background="http://www.wbex.ru/style/logo.png">

</body> </BODY> </HTML>


     </source>
   
  


background is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+

| Applied_To |<body> | | |
|

+----------------+--------------------------------------------------------------+

     </source>
   
  


"background" Syntax and Note

   <source lang="html4strict">

Note:

This attribute sets the URL of an image displayed as the background.

Syntax:

<element background="value"> . . . </element>


</source>