'bgproperties' Example : bgproperties « HTML Attributes Reference « HTML CSS Reference






'bgproperties' Example

    
<html>
<head>
<style>.body1 { background-image:url("http://www.java2s.com/style/logo.png"); }
       .body2 { background-image:none;!important }
</style>
</head>
<body id="myBody" 
      bgproperties="fixed" 
      background="http://www.java2s.com/style/logo.png" 
      onclick="this.className='body2'">
</body>
</html>
    
      
      








Related examples in the same category

1.'bgproperties' Syntax and Note
2.bgproperties is applied to