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

Popular posts from this blog

how to export html data to pdf in angularjs and javascript

Push Notification in Android using Firebase (FCM) and PHP

add more button new row using javascript