asp.net.ph

Skip Navigation Links

BACKGROUND Attribute | background Property

Language References


Sets or retrieves the image used as the background for the document BODY.

Syntax


Inline <body background = strUrl...>
Script body.background = strUrl ]

Possible Values


strUrl String specifying the URL of the file to be used as the background picture for the page.

The property is read/write with no default value.

Remarks

The image is usually tiled to fit behind the content on the page.

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

Applies To

BODY



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note