The next category of the class is what we call location pseudo classes, and this one is normally used
on links.
So have a look.
So now come back to my H.M..
I think it's time for me to remove this one so I can maintain it.
It's okay.
Let's maintain it.
Each one going to be as location.
Pseudo classes.
And there you go.
For this one, let's have some small semantic with a link.
So let's say that this link will point to my YouTube channel and going to be as a t http semicolon slash
slash w w w dot youtube.
YouTube.com slash C slash I never take.
I know what tech does academic.
You can use any link of your choice.
Now, if I save it, not improve it harder.
He has it.
I mean, visit or follow me.
On YouTube.
That is it.
Okay.
Now you see that by default I have this color being applied to it like purple.
Right.
The next one is.
Let me add another h1a link.
Sorry.
Then for this one I do not have anything inside.
And then I'll enter here.
Yes.
Let's say that you have.
Already.
Visited.
The last one with a link with nothing or no attributes.
And then let's give it a title or text as no style.
No style will be applied.
Okay.
So now with this one, let's explain the concept of location to the class.
Let's have some learning break.
We are.
And then and B are more line breaks.
Okay.
Good, good.
So let's talk about the first one as what you call link.
Link simply means that it matches any link that have not yet been visited.
So any link that hasn't been visited, I want to add a CSS class to it.
When I say visited, it means when you click on the the link, meaning that you have visited that particular
link.
So when it is displayed without being visited, I want to add a of class to it.
So here a and then provide link let give it a color of say blue.
But if I save it for me, I will not see the effect because I have already click on this link, meaning
I have visited this link so I cannot have this class being applied to it.
So we have another attribute called any link and that one, it matches an element if the element would
match either link or visited, meaning that whether it has been visited or not visited, that class
can have the CSS effect on that.
So have a look.
So A and then any link, any link then for this one I can give it a color of say red.
Now we see that now is that changed to red, meaning whether it has been visited or not, this any link
will be applied and when it's actually visited because this one tells me what I mean.
Visited.
So here a and then we say semicolon visited.
Let's give it a class of say what color?
Let's give it a crack.
This one.
You see that?
It means that this link has been visited.
That's why I have this color.
Let's make it more pop up.
So purple is okay?
Yes.
As does this.
What you call the pseudo classes.