color: rgb(255, 255, 255) : color « CSS « HTML / CSS

HTML / CSS » CSS » color 
color: rgb(255, 255, 255)
  

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title> </title>
        <style type='text/css' media='all'>
            body {
                font-size: 12px;
            }
            h1 {
                font-size: 25px;
                background: rgb(255192203);
                padding: 25px;
                border: thin solid rgb(000);
            }
            {
                font-size: 11px;
                padding: 11px;
                border: thin solid rgb(000);
                background: rgb(128128128);
                color: rgb(255255255);
            }
        </style>
    </head>
    <body>
        <h1>
            This is a heading
        </h1>
        <p>
            This is a paragraph of text.
        </p>
    </body>
</html>

   
  
Related examples in the same category
1.'color' Example
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.