Exporting in HTML5 / HTML / Flash

Hi. Not sure if this is the right forum but since it is HTML5 related, thought I give it a try. I am thinking of using the Unreal Engine to create simulations which I can then export in html5, html or flash format and embed in e-learning courseware as standalone activities. I wanted to know if exporting in this format is possible from this engine and also if it is permissible to do so (export and add in another application/e-learning in this case) based on the terms of usage.
Thank you.