how we can differentiate b/w visited and unvisited page

liunx

Guest
Hi,
Plz, Tell me the code with that i can differetiate b/w visited and unvisited page.Plz help me ,I am in deep trouble .




Thanks & Regards

Parveen AroraDo you mean for a link to a page?

If so here (<!-- m --><a class="postlink" href="http://www.w3schools.com/css/css_pseudo_classes.asp">http://www.w3schools.com/css/css_pseudo_classes.asp</a><!-- m -->)<style type="text/css">
a {color: yellow; font-weight: bold; text-decoration: none} /* unvisited link */
a:visited {color: navy; font-weight: normal; text-decoration: underline} /* visited link */
</style>

The above code would transform all unvisited hyperlinks to be displayed as yellow, bold and non-underlined; transforming all visited hyperlinks to be displayed as navy underlined text.
 
Back
Top