Skip to content
Related Articles
Open in App
Not now

Related Articles

HTML | <body> vlink Attribute

Improve Article
Save Article
  • Last Updated : 23 Mar, 2022
Improve Article
Save Article

The HTML <body> vlink Attribute is used to specify a color of a visited link in a Document.

Note : The HTML <body> vlink attribute is not supported by HTML5. Instead of using this attribute we can use CSS :visited pseudo-class selector.


<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



<!DOCTYPE html>
        HTML body vlink Attribute
<!-- body tag starts here -->
<body vlink="red">
        <h2>HTML <body> vlink Attribute</h2>
        <p>Click on a Below link</p>
        <a href="#">
            It is a Computer Science portal For Geeks
        <p><a href="#">GeeksForGeeks</a></p>
<!-- body tag ends here -->


Supported Browsers: The browser supported by <body> vlink Attributeare listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Safari
  • Opera
My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!