top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

How are active links different from normal links?

0 votes
14 views
posted Jun 14 by Kumar Neeraj

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

The default color for normal and active links is blue. Some browsers recognize an active link when the mouse cursor is placed over that link, others recognize active links when the link has the focus. Those that don’t have a mouse cursor over that link is considered a normal link.
Here is the piece of code :-

   <html>
    <head>
        <style>
/* unvisited link */
a:link {
    color: red;
}

/* visited link */
a:visited {
    color: green;
}

/* mouse over link */
a:hover {
    color: hotpink;
}

/* selected link */
a:active {
    color: blue;
}
        </style>
    </head>
    <body>

        <p><b><a href="any_page_name.html" target="_blank">This is a link</a></b></p>
        <p><b>Note:</b> a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective.</p>
        <p><b>Note:</b> a:active MUST come after a:hover in the CSS definition in order to be effective.</p>

    </body>
</html>
answer Jun 19 by Mantosh Dubey
Similar Questions
+3 votes

I want to put background music on my web-page.

+2 votes

Let me know the freeware where we can design and webpage and can preview the corresponding html code?

+2 votes

Let us consider I have two IP address (one assigned by VPN server and other one assign by ISP like Airtel). when user sends some data from Application then which of the layer of TCP/IP model decides that this data will be send to other end with VPN client ip or normal IP assigned by ISP ?


Useful Links with Similar Problem
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.
QUERY HOME
...