Changing the color of a link |
Changing the color of a link |
tanhooey |
May 28 2020, 11:03 AM
Post
#1
|
Group: Members Posts: 1 Joined: 28-May 20 Member No.: 27,366 |
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! |
Christian J |
May 28 2020, 02:35 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,653 Joined: 10-August 06 Member No.: 7 |
|
Lo-Fi Version | Time is now: 19th April 2024 - 02:56 PM |