So I am here just wondering about something. Whenever I use the ‘a:visited’ the link doesn’t have to be visited, It automaticly is visited. For example:
if you edit/update your question, leave a reply so i get a notification. Your html code is not visible, take the following steps to make your code visible:
select your code and press ctrl + k (or cmd + k if you use a mac)
if this instructions are unclear, you can also insert 3 backticks before and after your code, like so:
```
<p>visible</p>
```
the backtick is located above the tab key on your keyboard
thanks it was agreat help!!! i was stuck there for a great lot of time ,but does this means that a:hover is placed before a:visited by default as in it is given according to syntax or is this related to some way in which css interprets these elements.
i am confused by that, you write the code, so you place a:hover before a:visited. css uses a point system (if you want i can give you an extensive article on this). Lets look at this example, now take it from me these two css selectors have the same amount of points. If the points are equal, css decide based on order, the last rule is applied. If you where to swap them, the text will become red.
You have the same with a:visited and a:hover, they are also equal in points, so order matters. Make sense?