Posts Tagged ‘background color’

Highlighting HTML Web Page Links

Monday, July 14th, 2008

You can display your HTML web pageĀ  links in the color of your choice by adding the STYLE attribute to your HTML code.

Copy and paste the following code into the HTML portion of your web page where you would like the link to appear:

<A HREF=”http://www.yourdomain.com/” STYLE=”background:yellow; color:black” TARGET=”blank”>http://www.yourdomain.com/</A>

You can change the colors to whatever you’d like, but keep in mind, the text must be visible through the background color.

Highlighting HTML Web Page Text

Monday, July 14th, 2008

You can highlight your HTML web page text in the color of your choice by adding the STYLE attribute to your HTML code.

Example: Example of highlighted text

Copy and paste the following code into the HTML portion of your web page where you would like the text to appear:

<SPAN style=”BACKGROUND-COLOR: #ffff00″>Example of highlighted text</SPAN>

You can change the colors to whatever you’d like, but keep in mind, the text must be visible through the background color.