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

Facebook Login
Site Registration

How to displays the visited hyperlink in html?

0 votes
59 views

Create a webpage that displays the hyperlink with the following color attributes.

  • Set the color as %FF0000 for unvisited link
  • Set the color as %FF00 for visited link
  • Set the color as %FF00FF for mouse over link
  • Set the color as %0000FF for selected link
posted May 8, 2017 by Tanay Hanuman Toor

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Hello using This code of CSS you can set your Link color in Different Sage.

  /* A link that has been unvisited */
    a:link
 {
        color: %FF0000;
 }

    /* A link that has been visited */
    a:visited
 {
        color: %FF00;
 }

    /* A link that is hovered on */
    a:hover
 {
        color:%FF00FF;
  }

    /* A link that is selected */
    a:active
 {
        color: %0000FF;
  }
answer Feb 10 by Siddhi Patel
Similar Questions
0 votes

I created "normal" table and all TD's have "border: 1px solid #e6e6e6" and "margin: 0". TR and TABLE have too "margin/padding: 0" but I still have space between TDs like here: h

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...