Html2text demo
CSS
Colour
<html> <style> .green { color: #4f4; } </style> <body> <h1>Hi there</h1> <p>This is some simple text</p> <ol> <li>Item one</li> <li><s>Item two</s></li> <li class="green">Item three</li> </ol> <table> <tr><th>Heading 1</th><th>Heading 2</th><th>Heading 3</th></tr> <tr><td>Data 1</td><td>Data 2</td><td>Data 3</td></tr> <tr><td colspan=3>Hello there</td></tr> </table> </body></html>
Update