Help - Search - Members - Calendar
Full Version: Changing the color of a link
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
tanhooey
Hello all! I am just getting started in learning HTML, and I just found out about changing text colors and links using the "href" tag. Though I can change the font and alignment of my link, I can't seem to change the color of the link. Here is my code:

<!DOCTYPE html>
<style>
body{
font-family:courier;
text-align: center;
color:red
}
</style>
<body>
<a href="https://www.wix.com" style="text-decoration:none color:yellow">Visit my Instagram page!</a>
</body>
</html>
Any help + tools for further practice would be greatly appreciated. Thank you!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2020 Invision Power Services, Inc.