'color' Example : color « CSS « HTML / CSS

HTML / CSS » CSS » color 
'color' Example
 
    
<html>
<head>
<style>
.style1 
   font-family:verdana; 
   color:purple 
}
</style>
</head>
<body>
<p class="style1">A color text.</p>
</body>
</html>

    
      
        
  
Related examples in the same category
1.color: rgb(255, 255, 255)
2.color: lime
3.color:black
4.Named colors
5.color: crimson;
6.color: forestgreen;
7.color: darkkhaki;
8.color: green;
9.color: darkslateblue;
10.color: darkred;
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.