Switch to full style
HTML code examples
Post a reply

Underline for visited link

Sun Dec 04, 2011 1:05 am

Underline for visited link only , you first need to click the link and then see the hover effects.

Code:
<html>
    <head>
        <style type="text/css">
            a:link {
                background: blue;
                color: white;
            }
            a:visited:hover {
                background: crimson; 
                text
-decoration: underline
                color
: pink;
            }
        
        
</style>
    </head>
    <body>
        <a href='#'>Home</a> | 
        
<a href='#'>Alex</a> | 
 
    
</body>
</
html>

 




Post a reply
  Related Posts  to : Underline for visited link
 Change the default underline style of link     -  
 How to write a JSP Program to manipulate Last Date visited     -  
 underline the abberviation     -  
 add link in asp.net     -  
 Different statuses for link by CSS     -  
 Link send     -  
 get current page link     -  
 inline style for link tag.     -  
 Open a link in a new window?     -  
 White space link example     -  

Topic Tags

HTML Link