I have hyperlinked texts and i want to remove the underline and blue color also.

I removed underline but not the blue color i want the font to be in black??

Here is the code:

<A STYLE="text-decoration:none href=http://www.google.com>This is an example for automatic term mapping</A>

How can i get the font color of the sentence in black color???

Any idea??


Try doing this : <a href="http://www.someplace.com/" style="text-decoration : none; color : #000000;">http://www.someplace.com</a> or if you want to apply it with all the links in your page.

<title>Some title</title>
<style type="text/css">
a { text-decoration : none; color : #000; }
<a href="http://www.link1.com/">Link1</a><br>
<a href="http://www.link2.com/">Link2</a><br>
<a href="http://www.link3.com/">Link3</a>

Go with essential's answer
its better to separate style and content,
the css can be externalised (once) when you have the page design right
for the entire site and reduced file sizes - download times are always a good thing
else every element that has to be styled needs style=" bleep loads of style text margin border padding color background "

Why dont you use dream weaver man just use it and work in html or any other language as you are working on Microsoft word.

This article has been dead for over six months. Start a new discussion instead.