Are you bored with custom link colors and want to give a new look to your links with new colors and effect then you come to right place, in this tutorial I am going to share how to make a link hover effect.

Structure :
you have to place this simple Code in you HTML <head> tag. just like
A complete Example :
<!DOCTYPE html>
<html lang="en">
<head>
<title>Link Hover Effect by HTML5Planet</title>
<meta charset="utf-8" />
<style type="text/css">
a:link{color: #370;font-family:arial;text-decoration:none}
a:visited {color:#369;}
a:hover {color:#f90;font-family:Times New Roman;font-weight:bold;text-decoration:underline}
a:active {color:#444;} </style></head>
<body>
<a href="http://html5planet.blogspot.in/" title="">HTML5Planet</a>
|<a href="http://www.openplus.in/" title="">OpenPlanet</a>
</body>
</html>

Structure :
you have to place this simple Code in you HTML <head> tag. just like
<head>
<style type="text/css">
a:link{color: #370;}
a:visited {color:#369;}
a:hover {color:#f90;}
a:active {color:#444;} </style>
</head>
<style type="text/css">
a:link{color: #370;}
a:visited {color:#369;}
a:hover {color:#f90;}
a:active {color:#444;} </style>
</head>
A complete Example :
<!DOCTYPE html>
<html lang="en">
<head>
<title>Link Hover Effect by HTML5Planet</title>
<meta charset="utf-8" />
<style type="text/css">
a:link{color: #370;font-family:arial;text-decoration:none}
a:visited {color:#369;}
a:hover {color:#f90;font-family:Times New Roman;font-weight:bold;text-decoration:underline}
a:active {color:#444;} </style></head>
<body>
<a href="http://html5planet.blogspot.in/" title="">HTML5Planet</a>
|<a href="http://www.openplus.in/" title="">OpenPlanet</a>
</body>
</html>
Tidak ada komentar:
Posting Komentar