I have this common statement in my code
<body link="#FFFF00" vlink="#FFFF00" alink="#FFFF00">
Web Expression 4 highlight the code with a message ‘The World Wide Web Consortium now regards the attributes as outdated. Newer constructs are recommended.’
Unfortunately it doesn’t give me any more information.
What code do I need to make it up to date?
You shouldn’t embed styling within the structure of HTML – that’s why you are getting the message. It’s been quite a while that a separation between the document structure and how it looks has been accepted as a good thing – style goes into CSS.
To resolve the issue, use CSS.
For links you should style the
aelement with the pseudo classes forlink,visitedandactive: