Latest

recent

HTML body vlink Attribute

Definition and Usage

The vlink attribute specifies the color of the visited links for a page.
When a link has been used/visited earlier, the color changes to indicate that the link has been visited.

Compatibility Notes

The vlink attribute of the body element was deprecated in HTML 4.01 and is not supported in XHTML 1.0 Strict DTD.
Use CSS instead.
CSS syntax (in <head>): <style>a:visited {color: #00FF00}</style>


Syntax

<body vlink="color_value">

Syntax Example

<body vlink="red">

Attribute Values

Value Description
color_name Specifies the visited link color with a color name, like "red"
RGB_value Specifies the visited link color with a RGB value, like "rgb(255,0,0)"
Hex_value Specifies the visited link color with a hex value, like "#ff0000"


Browser Support

The attribute is supported in all major browsers.

Example

<html>
<body vlink="red">
<a href="/default.asp">1000sourcecodes</a>
</body>
</html>
HTML body vlink Attribute Reviewed by 1000sourcecodes on 08:38 Rating: 5
Powered by Blogger.