'background' Syntax and Note : background « Javascript Properties « JavaScript Reference

'background' Syntax and Note

Note:

Read and write property. 
Sets the background image URL. 
The background image appears in front of any background color.
    
Syntax:
    
document.getElementById("elementID").background = value
document.all.elementID.background = value // IE only

    

      
      








Related examples in the same category

1.'background' Example
2.'background' is applied to