How to set the color of a text with CSS

JavascriptWeb DevelopmentFront End Scripts

To set the color of a text, use the color property.

Example

You can try to run the following code to learn how to work with the color property in CSS:

<html>
   <head>
   </head>
   <body>
      <p style = "color:blue;">
         ANTARTICA is a continent
      </p>
   </body>
</html>
raja
Published on 13-Apr-2018 11:06:22
Advertisements