
Apu
December 01, 2022 ›
#Attribute
›
#Html Tutorials
❌
HTML | Alink Attribute with Example
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 Explorer | Firefox | Safari | Opera |
Yes | yes | yes | yes | yes |
save
listen
AI Answer
HTML | Alink Attribute with Example
0
The alink attribute is used to add color to a link when you hover on it. Syntax : # < bod…
asked
Apu
0 answers
2915
The alink attribute is used to add color to a link when you hover on it. Syntax : # < bod…
Answer Link
answered
Apu