How can write html string into word document.

Feb 25, 2015 at 10:27 AM
Edited Feb 25, 2015 at 10:28 AM
I have a html string. like this

______<h1>
WelCome, <span style="font-family:georgia,serif;"><em><u><strong><span style="background-color:#00ffff;">priti Tripathi</span></strong></u></em></span></h1>
<br />
FullName: <span style="font-family:courier new,courier,monospace;"><u>Pritia</u></span><br />
<br />
DateOf Birth:<span style="font-size:16px;"><em><strong>18-01-80</strong></em></span><br />
<br />
Conuntry: <span style="background-color:#ffd700;">India</span><br />
<h3 style="color:red;"> Job:Developer</h3> <h1> Email<u><strong><em><span style="background-color:#add8e6;">:pra@gmail.com</span></em></strong></u></h1>
how can i convert it into word document?