How To Change Hyperlink Color | url colour code
Thispageshows2easywaystochangethecolorofhyperlinksusingCSScode.Thefirstwayison-the-flywithInlineCSSbyaddingthestyleattributedirectlyintothehyperlink[1]code,insertingacolorpropertyintothestyleattributethengivingthecolorpropertyacolorvalue[2].HyperlinkcolorscanalsobechangedeasilywithexternalCSS(examplesbelow).ReplacetheURL,hrefattributevalue,andthecolorpropertyvalue#cc0000withyourown.Seehexcolorchart[3]andcolornameschart[4]togetmorecolors.
This page shows 2 easy ways to change the color of hyperlinks using CSS code.
The first way is on-the-fly with Inline CSS by adding the style attribute directly into the hyperlink[1] code, inserting a color property into the style attribute then giving the color property a color value[2]. Hyperlink colors can also be changed easily with external CSS (examples below).
Replace the URL, href attribute value, and the color property value #cc0000 with your own. See hex color chart[3] and color names chart[4] to get more colors.
<a href="http://www.hyperlinkcode.com/change-hyperlink-color.php" style="color: #cc0000">change hyperlink color</a>
change hyperlink color[5]
a {color: #cc0000;}
a:link {color: #cc0000[6];}a:visited {co...