所以改为使用css:
<style type="text/css">
a:visited {
color: red;
}
</style>
Run Code Online (Sandbox Code Playgroud)
可以使用内联代码完成.这样的东西不起作用:
<a href="http://google.com" style='a:visited:color:red'>Google.com</a>
Run Code Online (Sandbox Code Playgroud)