color constant name : Color « Reference « HTML / CSS






color constant name

  

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
#nav a:link {
 color: blue;
} 
#nav a:visited {
 color: purple;
}
#content a:link {
 color: white;
} 
#content a:visited {
 color: yellow;
}
</style>
</head>
<body>
<div id="nav">
  <p>Consectetuer adipiscing elit: 
    
    <ul>
    <li><a href=" ">Vivamus purus enim</a></li> 
    <li><a href=" ">Sollicitudin vitae</a></li>
    <li><a href=" ">Tincidunt sit amet</a></li> 
    <li><a href=" ">Pretium vel, libero</a></li> 
    </ul>
</div>

<div id="content">
<p>Sed sed nisi. Morbi <a href=" ">gravida</a>, odio at aliquam lobortis, urna massa vehicula mi, et posuere tortor elit eget est. Nulla ligula. Etiam pulvinar. Quisque ante quam, ultricies quis, rutrum dignissim, <a href=" ">fermentum</a> a, est. Nulla felis dolor, tempor non, posuere ut, ornare ac, eros. Cras in metus. Sed rutrum lectus ut nibh. Pellentesque ipsum.</p>
  
</body>
</html>

   
    
  








Related examples in the same category

1.Color Names: 140 color names are listed alphabetically.
2.The Web Palette
3.HTML Color Names
4.CSS Color Chart: Gray Scale
5.Shades of Gray
6.Colors Sorted Alphabetically
7.Fixed Red value: #FF
8.Fixed Red value: #00
9.Colors are displayed combining: RED, GREEN, and BLUE light sources
10.CSS Color Chart: Pure Colors
11.CSS Color Chart: Mixture of Red and Green
12.CSS Color Chart: Mixtures of Blue and Red
13.CSS Color Chart: Mixtures of Blue and Green
14.CSS Color Chart:Mixtures of Red, Blue, and Green
15.A table of color names that are supported by most browsers
16.Cross Platform Colors
17.Color Names List
18.CSS2.1 colors and their corresponding decimal, percentage, and hexadecimal values.