How to link in css?


#1

How do you add a link in CSS like what is the selector thingy

I don't know the terminology but for example

a {
color: blue;
}

what would it be if you had to put a link in css


#2

you don't add link in css, you style it
if you want to add a link you can use a href attribute in html page


#3

so how would you style a link?


#4

You can select : link, hover, visited like so:

a:link {
   color: yellow;
}

a:hover {
   color:#00b0ff;
}

a:visited {
   color: black;
}