Home > Blockchain >  Why doesnt my html link change colour after clicking on it
Why doesnt my html link change colour after clicking on it

Time:09-16

On this webpage when you click on a link in the Acoustid column it doesn't change colour to show it has been visited

http://reports.albunack.net/acoustid_report.html

I cant see wny, there is nothing special in the html

<tr>
                <td>
                    <a href="http://acoustid.org/track/1eb887d3-5c75-4533-b508-7c17a118b07b" target="_blank" title="Acoustid Page">
                        1eb887d3-5c75-4533-b508-7c17a118b07b
                    </a>
                </td>
                <td>
                    Nelly Furtado/my love grows deeper
                </td>
                <td>
                    5
                </td>
                <td>
                    Nelly Furtado/maneater
                </td>
                <td>
                    1
                </td>
            </tr>
            <tr>
                <td>
                    <a href="http://acoustid.org/track/123feaa4-2464-495c-bb76-d4dad91ffca3" target="_blank" title="Acoustid Page">
                        123feaa4-2464-495c-bb76-d4dad91ffca3
                    </a>
                </td>
                <td>
                    Nelly Furtado/on the radio
                </td>
                <td>
                    69
                </td>
                <td>
                    Nelly Furtado/....on the radio (remember the days)
                </td>
                <td>
                    1
                </td>
            </tr>

and I cant see anything in the css either

CodePudding user response:

Use CSS

a:visited {
  color: red; // #565656 hex code for any other color in place of red
}

Change red to any color of your choice eg. #ff0000 for any other color code

CodePudding user response:

For the links to change color when they have been visted you will have to specify it in your css document . For example you hv to specifie what should happen when the link is not visited , visited and when its active. Note that if u dont specifie these there it automatically fall under defualt setting to which may vary based on the browser

  • Related