Switch to full style
HTML code examples
Post a reply

Different statuses for link by CSS

Sun Dec 04, 2011 1:31 am

Different statuses for link by CSS
Code:
<html>
    <
head>
        <
style type="text/css">
            
a:link {
                
background#FF4452;
                
color#0043BB;
            
}
            
a:visited {
                
background#54F032;   
                
color#FF3455;
            
}
            
a:hover {
                
background#000000;
                
color#FFFFFF;
            
}
            
a:active {
                
background#540BF0;
                
color#22FF43;
            
}
        </
style>
    </
head>
    <
body>
        <
a href='http://www.google.com'>Google</a> | 
        <
a href='http://www.codemiles.com'>codemiles</a> | 
        <
a href='http://www.facebook.com'>facebook</a> | 
        <
a href='http://www.yahoo.com'>yahoo</a>
    </
body>
</
html>
 




Post a reply
  Related Posts  to : Different statuses for link by CSS
 add link in asp.net     -  
 Link send     -  
 create download link     -  
 inline style for link tag.     -  
 set MIME type in link     -  
 Open a link in a new window?     -  
 White space link example     -  
 Underline for visited link     -  
 Changing link color     -  
 Send email link example.     -  

Topic Tags

HTML Link, CSS Link