<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100" height="100" viewBox="0 0 100 100">
<style>a rect { fill: green } a:link rect { fill: red } a:visited rect { fill: blue }</style>
<a xlink:href="http://www.example.com/">
<rect x="0" y="0" width="100" height="100"/>
</a>
</svg>