How can I write a:hover in inline CSS?
Short answer: You can't. Two alternatives would be to add a <style> element in the head of the file, or to use jquery and set the css via the hover function.
It looks like you're new here. If you want to get involved, click one of these buttons!