css a: link

Tuesday, February 26, 2008

Now let us talk about



Anchor Tag <A>.....</A>

this is only tag used for hyperlinking


throughout HTML


let us see definition after body









A:link {

COLOR: #5588aa; TEXT-DECORATION: none

}
A:visited {
COLOR: #999999; TEXT-DECORATION: none

}

A:hover {

COLOR: #d16587; TEXT-DECORATION: none


}



css alow you to add effect to hyperlinks


If you do not use css ,the only way to add effect


to hyperlinks would be Java script


A hyperlinks has four states(above defind only three)


that it can in css alow to customize
each state that it is in
it also nessesary to write


the code in order in which they appear for the links


to work properly


now let us talk about its attribute


color: (it may be of your choice);


text-decoration :none


given none because it do not show


underline in links


for example :

<a href='http://google.com'style='text-decoration:none;'>google .com </a>
it do not show underline of link google.com

© Tips for Bloggers

0 comments:

 
 
 

Followers