<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CSV like text to HTML</title>
<meta name="description" content="CSV like text to HTML">
<meta name="author" content="Viktar Karpach">
<link rel="stylesheet" href="styles.css">
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<h1>CSV like text to HTML</h1>
<p>This command converts comma or tab separated text to html table. For example:</p>
<br/>
<pre>
OrderId,Product Count,Total
101,2,$15.95
102,1,$5.95
103,18,$17.05
</pre>
<br/>
<p>Becomes:</p>
<br/>
<pre>
<table class="orderDetails">
<tr><th>OrderId</th><th>Product Count</th><th>Total</th></tr>
<tr><td>101</td><td>2</td><td>$15.95</td></tr>
<tr><td>102</td><td>1</td><td>$5.95</td></tr>
<tr><td>103</td><td>18</td><td>$17.05</td></tr>
</table>
</pre>
<br/>
<p>And here is how it would look like in any browser:</p>
<br/>
<table class="orderDetails">
<tr><th>OrderId</th><th>Product Count</th><th>Total</th></tr>
<tr><td>101</td><td>2</td><td>$15.95</td></tr>
<tr><td>102</td><td>1</td><td>$5.95</td></tr>
<tr><td>103</td><td>18</td><td>$17.05</td></tr>
</table>
<br/>
<p>Below are options used for above conversions. All options are self explanatory.</p>
<br/>
<img src="screen2.png" alt="Code to HTML"/>
</body>
</html>