Foreground color in CSS
Foreground color: the 'color' property
The
color property describes the foreground color of an element.
For example, imagine that we want all headlines in a document to be dark red. The headlines are all marked with the HTML element
<h1>. The code below sets the color of <h1> elements to red.
h1 {
color: #ff0000;
}
Comments
Post a Comment