<a href="somesite.com" style="color: #CCCCCC" style="text-decoration:none"> text </a> What's wrong with the statement above? when I try to enter it the code itself shows up on the page: <a href="somesite.com" style="color: #CCCCCC"> text </a> - This works well for chaning the color of the hyperlink, however when I try to add style="text-decoration:none" to it to remove the underline, it doesn't work What's wrong?
If you are going to do that for all of your hyperlinks, then you might as well add the following to the <head> section of your site (or your external stylesheet) <style type="text/css"> a { color: #FF0000; text-decoration: none; } </style> Code (markup):