Friday, March 2, 2012

CSS text-decoration


Using style text-decoration, you can put underline, overline, line-through, blink or none in your links. You can also use this style  for any text and header..
1.
<A STYLE="text-decoration:none" HREF="http://www.google.com">
Google</A>
result: Google
2.
<A STYLE="text-decoration:underline" HREF="http://www.google.com">
Google</A>
result:  Google
3.
<A STYLE="text-decoration:overline" HREF="http://www.google.com">
Google</A>
result:  Google
 4.
 <A STYLE="text-decoration:line-through" HREF="http://www.google.com">
Google</A>
 

result: 
Google
5.
 <A STYLE="text-decoration:blink" HREF="http://www.google.com">
Google</A>
result: Google

No comments:

Post a Comment