i have div tag like this with 3 tables inside.
<div>
<table>
<tr><td>ABC</td><td>ABC</td></tr>
</table>
<table>
<tr><td>XYZ</td><td>XYZ</td></tr>
</table>
<table>
<tr><td>LMN</td><td>LMN</td></tr>
</table>
</div>
The output is
ABC ABC
XYZ XYZ
LMN LMN
How can I change to something like this?
ABC ABC XYZ XYZ LMN LMN
They are block level by default, make them inline.
Example
You can also make them float, as suggested by @j08691