Latest web development tutorials

HTML body vlink property

HTML body tag Reference Manual HTML <body> tag

Examples

The document has been visited link color to red:

<p><a href="http://www.w3big.com">本教程</a></p>
<p><a href="http://www.w3big.com/html/">HTML 教程</a></p>

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support vlink property.


Definition and Usage

HTML5 is no longer supported <body> vlink property. Use CSS instead.

<Body> of vlink property is obsolete in HTML 4.01.

vlink properties of the document has been visited link color.


Compatibility Notes

In HTML 4.01, the attribute is deprecated vlink body element; in XHTML 1.0 Strict DTD not supported vlink attribute body element. Use CSS instead.

CSS syntax (in the <head> section): <style> a: visited {color: # FF0000} </ style>

CSS Example: set the color of visited links

In our CSS tutorial you can find more details about : visited pseudo-class knowledge.


grammar

<body vlink="color_name|hex_number|rgb_number">

Property Value

value description
color_name Predetermined color is the color of the font color name (such as "red").
hex_number Predetermined color value is a hexadecimal value of font color (eg "# ff0000").
rgb_number Rgb color code is specified font color (such as "rgb (255,0,0)").


HTML body tag Reference Manual HTML <body> tag