HTML format

<< Click to Display Table of Contents >>

Navigation:  Reference > File formats >

HTML format

Easy Data Transform can output to tables in HTML format files. Default file extension ".html".


HTML (HyperText Markup Language) format is commonly used for creating web pages. If you don't need the data to take up a whole page, you can just copy the <table> to </table> part of the output.


For example:


convert to HTML


Is output as:


<!DOCTYPE html>



   <meta charset="UTF-8"/>


   <style>table,td,th{border:1px solid black;text-align:left;vertical-align:top;border-spacing:0px;border-color:gray;font-family:Verdana,sans-serif;}th{background-color:#E0E0E0;}td,th{padding:5px;}</style>









         <th>In stock</th>





         <td>Soft drinks, coffees &amp; teas</td>






         <td>Sweet and savory sauces</td>






         <td>Candies and sweet breads</td>








Usually you will want to 'escape' special HTML characters in dataset values when output to HTML format. For example to convert < to &lt;, so it can be correctly displayed in the HTML. However, if you wish to write 'raw' HTML, then you can uncheck Escape special characters in the Right pane. Note that you can also set Change to To escaped HTML to escape selected columns in the Decode transform.