Handling units, with output as HTML table.