This example shows use of embedded and inline style definitions to specify the background-color style attribute of different elements on a page.
This document's BODY has its background-color set to ghostwhite.
The header above, this text, and the following elements are contained within this DIV element whose background-color has been set to aliceblue.
Table header with darkslategray background | |
---|---|
Table cell with background set to #cc9 | Table cell with default table background |
Table cell with default table background |
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.