Abakada CSS Demo: background-color Attribute

View Source   Exit


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.

H1 with dimgray background

The header above, this text, and the following elements are contained within this DIV element whose background-color has been set to aliceblue.

A UL element ( unordered list ) whose background-color is steelblue
A TABLE element whose background-color is beige
Table header with darkslategray background
Table cell with background set to #cc9 Table cell with default table background
Table cell with default table background


View Source   Exit

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