HTML CSS Reference/HTML Attributes Reference/background

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

"background" Example

    
<HTML>
<Title>Example For background</Title>
<body id="myBody" 
      bgproperties="fixed"
      background="http://www.wbex.ru/style/logo.png">
</body>
</BODY>
</HTML>



background is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<body>                          <table>                       |
|                |<td>                            <th>                          |
+----------------+--------------------------------------------------------------+



"background" Syntax and Note

Note:
    
This attribute sets the URL of an image displayed as the background.
    
Syntax:
    
<element background="value"> . . . </element>