HTML | <body> vlink Attribute
The HTML <body> vlink Attribute is used to specify a color of a visited link in a Document.
Syntax:
<body vlink="color_name | hex_number | rgb_number">
Attribute Values:
- color_name: It specifies the name of the color of the visited link.
- hex_number: It specifies the color of the visited link in terms of hex code.
- rgb_number: It specifies the color of the visited link in terms of rgb value
Example:
<!DOCTYPE html> <html> <head> <title> HTML body vlink Attribute </title> </head> <!-- body tag starts here --><body vlink="red"> <center> <h1>GeeksforGeeks</h1> <h2>HTML <body> vlink Attribute</h2> <p>Click on a Below link</p> <a href="#"> It is a Computer Science portal For Geeks </a> <br> <p><a href="#">GeeksForGeeks</a></p> </center> </body> <!-- body tag ends here --> </html> |
chevron_right
filter_none
Output:

Supported Browsers: The browser supported by <body> vlink are listed below:
- Google Chrome
- Internet Explorer
- Firefox
- Safari
- Opera
Recommended Posts:
- HTML | <bdo> dir Attribute
- HTML | <li> value Attribute
- HTML | max attribute
- HTML | low Attribute
- HTML | for Attribute
- HTML | <img> src Attribute
- HTML | alt attribute
- HTML | <a> rel Attribute
- HTML | <map> name Attribute
- HTML | value Attribute
- HTML | rel attribute
- HTML | name Attribute
- HTML | <img> alt Attribute
- HTML | min Attribute
- HTML | dir Attribute
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



