The alink attribute is used to add color to a link when you hover on it.

Syntax : #

<body alink="color"> </body>

Note : The alink attribute is not supported in HTML5. Instead of using alink attribute we can use CSS :active pseudo class.

The example below adds the link color to orange whenever you hover the link. The example is given below.

<body vlink='orange'>
    <a href="https://www.3schools.in">
      Visit 3schools
    </a>
</body>

Supported Browsers #

The alink attribute is supported in all browsers.

Google Chrome Internet ExplorerFirefox Safari Opera
Yesyes yes yes yes