The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Html link code with color code + open in new window, Html link code with color code + open in new window
marcjohnson
post Dec 15 2013, 11:17 AM
Post #1





Group: Members
Posts: 1
Joined: 15-December 13
Member No.: 20,114



I am trying to add a simple link that will open in a new window with a certain color.
I achieved that :

<a href="http://www.whatever.com" target="_blank">whatever</a>

It's working

But I would like to add the color red to it. (style="color:red")

I tried that : <a href="http://www.whatever.com" target="_blank" style="color:red">whatever </a>

but it doesn't work

I can't get my hand on the right code.

Can u possibly help me ?

thank you.

Marc
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Dec 15 2013, 12:33 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,628
Joined: 10-August 06
Member No.: 7



If the new page is hosted by you, just style the HTML of the new page. But if the new page is hosted by someone else you can't style it.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 15 2013, 05:55 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



QUOTE(marcjohnson @ Dec 15 2013, 05:17 PM) *

But I would like to add the color red to it. (style="color:red")


To what? The background of the page in the new window? Or the text? Or something else?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 01:07 AM