color:black : color « CSS « HTML / CSS






color:black

  
 
<html>
  <head>
    <style>
      p.center {text-align:center;color:black;}
    </style>
    <title>Chapter Two, XHTML and CSS</title>
  </head>
  <body>
    <p class="center">It is easy to use XHTML</p>
  </body>
</html>

   
  








Related examples in the same category

1.'color' Example
2.color: rgb(255, 255, 255)
3.color: lime
4.Named colors
5.color: crimson;
6.color: forestgreen;
7.color: darkkhaki;
8.color: green;
9.color: darkslateblue;
10.color: darkred;