Switch to full style
CSS code examples
Post a reply

links CSS properties

Mon Feb 27, 2012 1:42 pm

In this example we focus on the different links CSS properties (link, visited, hover, active, focus) .
Code:
<html>
  <
head>
  <
title>links CSS properties</title>
    <
style type="text/css">
      
a.custLink:link 
          
color#5476FC; 
          
text-decorationnone 
      
}
      
a.custLink:visited 
          
color#22FF34; 
          
text-decorationnone;
      }
      
a.custLink:hover {
           
colorred;  
          
text-decorationunderlined;
      }
      
a.custLink:active {
          
color#F55423; 
          
text-decorationnone;
      }
      
a.custLink:focus {
          
color#6436FC;  
          
text-decorationunderlined;
      }
    </
style>
 
  </
head>
  <
body>
    <
p>
      <
class="custLink" href="http://www.codemiles.com">Visit Codemiles Community</a>
    </
p>
  </
body>
</
html>
 




Post a reply
  Related Posts  to : links CSS properties
 Change the properties of div tag     -  
 Java properties utility     -  
 Change CSS Properties from JQuery     -  
 Class static properties     -  
 Define boolean Class properties     -  
 Changing the color and properties of the header tag     -  
 demonstrate how to add lighting and material properties     -  
 JFrame properties for an Applet to be embedded in website?     -  
 simple code to read properties in java     -  
 Links like yours?     -  

Topic Tags

CSS Link