Links not changing color in HTML

Question:
Why aren’t my links changing color?

Current behavior:
I have writen in css that my links should change color yet they don’t.

Desired behavior
I want my links to change color.

code snippet
a {
color: #FF0000;
}

Try

    <link href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/1.0.0/mdb.min.css" rel="stylesheet" />

in <head> tag

Sorry if I was unclear I mean links to webpages in text.

Example:
HTML:

<html lang="en">
<link href="styles.css" rel="stylesheet"/>
<p1>
Hello, 
My name is 
<a href= "about.html"> Danne.</a>
</p1>

CSS:

a{
color: #ff0000;
}
1 Like
<html lang="en">
<head>
<link href="styles.css" rel="stylesheet"/>
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/1.0.0/mdb.min.css" rel="stylesheet" />
</head>
<p1>
Hello, 
My name is 
<a href= "about.html"> Danne.</a>
</p1>

@BlueFlameIsHere that has no relation to color. @DanneVanilj was asking for a different color of text for the link. I guess DanneVanilj figured it out. For future reference please read the topic fully.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.