Hi, how can I do such a thing in HTML code: I need to have hyperlinked text one colour, but when visitor of my site point his/her mouse over that link it change colour to different one. Or that is something about CSS ? Thanks in advance
CSS, using the :hover pseudo class. e.g. if you want to change the colour of all links when they are "hovered on" to a hot pink, use: a:hover { color: #FF00FF; }
Implement the below code into your <head></head> portion of your web page. This is a full example of changing the link properties of your web page. If you wish to just change the link color when moving a mouse over a link you only need the A:hover line. <style type="text/css"> <!-- A:link { COLOR: black; TEXT-DECORATION: none; font-weight: normal } A:visited { COLOR: black; TEXT-DECORATION: none; font-weight: normal } A:active { COLOR: black; TEXT-DECORATION: none } A:hover { COLOR: blue; TEXT-DECORATION: none; font-weight: none } --> </style>