Full width home advertisement



Post Page Advertisement [Top]

Setting Link Colors

You can set the colors of links, active links and visited links using link, alink and vlink attributes of <body> tag.


Save the following in index.html and open it in any web browser to see how link, alink and vlink attributes work.

<!DOCTYPE html>



<title>Scholars Hyperlink Example</title>

<base href="http://www.scholarsglobe.com/">


<body alink="red" link="#040404" vlink="blue">

<p>Click following link</p>

<a href=" index.html" target="_blank" >HTML Tutorial</a>



The result is, the link will change one color to another after visiting the link.

HTML Tutorial

No comments:

Post a Comment

Bottom Ad [Post Page]

| Designed by Colorlib