Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

style hover

<style>
a.special:link {
    color: green;
}

a.special:visited {
    color: red;
}
</style>

<p><a href="#">This is a standard link, it will become purple when clicked</a></p>
<p><a class="special" href="#">This is a special colored link and become red when clicked</a></p>
Source by www.learn-html.org #
 
PREVIOUS NEXT
Tagged: #style #hover
ADD COMMENT
Topic
Name
7+9 =