background attribute | background property

Sets or retrieves the background picture tiled behind the text and graphics on the page.

Syntax

HTML<element background="p" ... >
JavaScript

p = object.background

Property values

Type: String

the URL of the file to use as the background picture for the page.

Standards information

Remarks

This property is deprecated in favor of the background-image attribute of CSS.

See also

body
Reference
backgroundImage
Conceptual
Defining Document Compatibility

 

 

Build date: 11/14/2012

Show: