top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to displays the visited hyperlink in html?

0 votes
443 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

+1 vote
 
Best answer

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, 2020 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

...