Ads 468x60px

Pages

Wednesday, January 3, 2007

How to change the color of your hyperlink

Someone commented in blog Blogger for Dummies and I went to his site Dogs Puppies Training and Care by Kevin the Collie. I noticed in his header a link which was in dark blue which merged into the dark green background and thus became almost invisible. I don't know if the color was controlled by the CSS (Cascading Style Sheet) or not, but in any case, if you want a link to be of a certain color, you should write the link in the following way (assuming you want it to be in red): <a href="URL><span style="color:red;">description</span></a>.

Update: Someone asked whether it is possible to post things other than hyperlinks in color. Sure. Just enclose the text with the <span style="color:red;"> and </span> tags. For example you want these text to be in green, just put <span style="color:red;"> in front of "these" and </span> after "green"

  NEWER POST    HOME  OLDER POST

0 comments:

Post a Comment