Ask coding questions

← Back to all posts
seweed3 (6)

I tried to make 6 links on my webpage each to a different page, but some are purple and blue?
Can someone tell me why?

PattanAhmed (1384)

@seweed3 Hi,
I think your issue is solved!
If not, then comment me below!

Hope this helps

seweed3 (6)

Just saying I found a solution. I changed the color of the links. I'm not sure if this is the correct way....

Coder100 (15386)

that is how you do it actually @seweed3

Coder100 (15386)

You can change the behavior with css:

a:link {
  /* links that are not visited */

a:visited {
  /* links visited before */

a {
  /* all links, visited or not */
Coder100 (15386)

Hi, purple links are because you have visited the link before.

CodeLongAndPros (1564)

A ‘purple’ link denotes “You’ve already clicked on this link”, while a blue one denotes the opposite. Some links that are purple for me are blue for you, and likewise. If you want to blue-ify your links, clear your history, cache and cookies (yum)

CodeLongAndPros (1564)

@k9chelsea2 Well yeah but that’s not the question

CodeLongAndPros (1564)

@Coder100 Lovely spam, wonderful spam, spam, spam, spaam, spaaam,