w3schools    w3Schools
Search W3Schools :
HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE...   References Examples Forum About

XML Certification
Download XML editor
Custom Programming
Table of contents
HTML Reference
HTML by Alphabet
HTML by Function
HTML Attributes
HTML Events
HTML Colornames
HTML Character Sets
HTML ISO-8859-1
HTML Symbols
HTML Lang Codes
HTTP Messages

<h1> - <h6>

Selected Reading
Web Statistics
Web Glossary
Web Hosting
Web Quality

W3Schools Tutorials
W3Schools Forum

Helping W3Schools


HTML body vlink Attribute

HTML body Tag Reference HTML <body> tag

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>

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


<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

Internet Explorer Firefox Opera Google Chrome Safari

The attribute is supported in all major browsers.


<body vlink="red">
<a href="/default.asp">W3Schools</a>

Try-It-Yourself Demos

body vlink attribute example
Set the color of an visited link with the body vlink attribute

In CSS: visited link style example
Set the color of an visited link with CSS.

HTML body Tag Reference HTML <body> tag

Altova® MissionKit® - Integrated suite of XML tools

The Altova MissionKit is a suite of intelligent XML tools, including:

XMLSpy® – industry-leading XML editor

  • Support for all XML-based technologies
  • Graphical editing views, powerful debuggers, code generation, & more

MapForce® – graphical data mapping tool

  • Drag-and-drop data conversion with code generation
  • Support for XML, DBs, EDI, Excel® 2007, text, Web services

StyleVision® – visual stylesheet designer

  • Drag-and-drop stylesheet design for XML & databases
  • Output to HTML, PDF, RTF, Word 2007, & more

And more…

Try before you buy with a free fully functional 30-day trial

Download today

ASP.NET Web Hosting
Web Hosting
$15 Domain Name
Save $20 / year!
Buy UK Domain Names
Register Domain Names
Cheap Domain Names
Cheap Web Hosting
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting
Website Templates
Flash Templates
Website Builder
Internet Business Opportunity
Custom Programming
FREE Trial or Demo
Web Content Manager
Forms,Web Alerts,RSS
Download XML editor
FREE Flash Website
FREE Web Templates
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification
Home HOME or Top of Page Validate   Validate   W3C-WAI level A conformance icon Printer Friendly  Printer Friendly

W3Schools is for training only. We do not warrant the correctness of its content. The risk from using it lies entirely with the user.
While using this site, you agree to have read and accepted our terms of use and privacy policy.
Copyright 1999-2009 by Refsnes Data. All Rights Reserved.