Usage of color property in CSS

JavascriptWeb DevelopmentFront End Scripts

The color property is used to set the color of text. You can try to run the following code to learn how to work with the color property in CSS:

Example

<html>
   <head>
   </head>
   <body>
      <p style = "color:blue;">
         This text will be written in blue.
      </p>
   </body>
</html>
raja
Updated on 31-Jan-2020 06:25:32

Advertisements