|
| |||||||||
| Tags: html, hyperlink, link, mouse, vlink, web, web page |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Changing link color when moving mouse over link in HTML
hello friend i am developing a web page for my self. I am not very much familiar about html but can develop a simple web page. The problem is that i am trying to make a hyper link on a text. By default the text appears blue before visiting the link and changes to pink after clicking on this link. please tell me is it possible Changing link color when moving mouse over link in HTML? |
|
#2
| ||||
| ||||
| Re: Changing link color when moving mouse over link in HTML
Yes it is possible. The HTML is a powerful formatting language and you can do this in HTML using the anchor tag. One of the property of the anchor tag is known as "hover" , this property of the anchor tag can help you to change the color of the hyper linked text. You simply had to specify the color and you will get it. |
|
#3
| |||
| |||
| Re: Changing link color when moving mouse over link in HTML
Thank you very much for replying. I think that you have understood the whole problem and you have suggested me a good solution but it would be better if you provide me some example to achieve this If possible please provide the code to achieve this and also explain the code. Any further help would be appreciated. |
|
#4
| ||||
| ||||
| Re: Changing link color when moving mouse over link in HTML
You can achieve this in a couple , you can use the LINK and VLINK attributes to the BODY tag as in <BODY LINK="green"> This will make the text link green before visiting to the more advanced style sheets, where you can have structures like: a { color: green; text-decoration:none; } a:hover { text-decoration: underline; } This would give give you a green links and when you move the mouse over it it will get underlined. |
|
#5
| ||||
| ||||
| Re: Changing link color when moving mouse over link in HTML
It seems to me as you will have to make use of the Cascading style sheets or CSS. Include the css in the head of your html document and use the anchor tag and its properties LINK and VLINK and set the desired color accordingly. You can also do it by using the hover attribute in your HTML document and change the link color
__________________ The FIFA Manager 2009 PC Game |
|
#6
| ||||
| ||||
| Re: Changing link color when moving mouse over link in HTML
This is quiet simple problem and it is very easy to change the link color of certain link. You simply have to add STYLE="color:blue" to your anchor or a tag. where you can change the blue color to the color you want. after you implement this it will look like what i have given below: <A HREF="destination-document.html" STYLE="color:blue">hyperlinked text</A>
__________________ Grand Theft Auto 4 PC Video Game |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Changing link color when moving mouse over link in HTML" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to link CSS into the HTML file? | Zhankana_n | Software Development | 5 | 23-12-2009 03:02 PM |
| How to link documents in HTML | Saaz | Software Development | 3 | 17-11-2009 01:40 PM |
| Link HTML and Powerpoint | Connect_Me | Software Development | 3 | 08-04-2009 12:54 AM |
| VB6.0 link html page | Taipai | Software Development | 3 | 26-01-2009 06:34 PM |
| Get D-Link moving on Vista Drivers | Nick | Vista Help | 2 | 20-11-2006 09:56 PM |