Change Hyperlink Color

 

Change Hyperlink Color

Change hyperlink color using the style tag. Place this tag within the hyperlink HTML code of an individual link.

Change Hyperlink Color

Place the following code within your HTML:

<a href="change-hyperlink-color.html" style="color: #FF0000">Change Hyperlink Color</a>

 
 

Change All HTML Link Colors

If you would like to change all of a web page’s HTML link colors, you can use the style tag within your <head> tags.

<style>
<!–
/* unvisited link */
a:link { color: green; }

/* visited link */
a:visited { color: red; }

/* mouse over link */
a:hover { color: black; }

/* selected link */
a:active { color: blue; }
–>
</style>

This concludes the change hyperlink color section.

 
 

 
 
Visit the following pages for a wealth of copy and paste codes and tips:

HTML Tips
Copy and paste special effect HTML codes for your web page.

HTML Codes
An HTML codes chart you can use to copy and paste codes into your web page.

HTML Color Codes
An HTML color codes chart you can use to copy and paste color codes into your web page.

JavaScript Codes
Copy and paste special effect JavaScript codes for your web page.

Web Design Tips
Tips, tricks, and special effect codes for your web page.

HTML Tags
A list of HTML tags.

HTML 5 Tags
A list of the latest HTML tags to be developed.

ASCII Codes
Special text characters and code for your web page.

Code provided by:
John Nitkowski