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
Published on 13-Apr-2018 11:39:59
Advertisements