Possible Duplicate:
How to write a:hover in inline CSS?
I need to generate some self-contained HTML code, so I cannot use any external stylesheet or style tag.
One of the requirement is that a link must have a hover
, visited
state etc. I know how to do that with a stylesheet, but how can I do it inline? i.e. what should I put in the style attribute:
<a style="???" href="http://example.com">Link</a>