Your structure has tag closing mistakes. Compare your structure with below structure.
<table>
<thead>
<tr>
<th width="121">Download link</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<img src="https://i.stack.imgur.com/ctwrd.png" alt="" width="20" height="20" class="dlboxicon" />[xfgiven_download]
<a href="[xfvalue_download]"> [xfgiven_name] [xfvalue_name] [/xfgiven_name][/xfgiven_download] </a>
</td>
</tr>
</tbody>
</table>
Add the style “float:left” to your image tag to align it with the text side by side.
your HTML should become something like;
<table>
<thead>
<tr>
<th width="121">Download link</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<img src="https://upload7.ir/up/icon-article-navy.png" alt="" width="20" height="20" class="dlboxicon"
style="float: left;">[xfgiven_download]<a href="[xfvalue_download]"> [xfgiven_name] [xfvalue_name]
[/xfgiven_name]
</td>[/xfgiven_download]
<a />
</tr>
</tbody>
Hope it helps!
I want put image in box, right before text I use this code but image goes up or down !

<table>
<thead>
<tr>
<th width="121">Download link</th>
</tr>
</thead>
<tbody>
<tr>
<td><img src="https://upload7.ir/up/icon-article-navy.png" alt="" width="20" height="20" class="dlboxicon" />[xfgiven_download]<a href="[xfvalue_download]"> [xfgiven_name] [xfvalue_name] [/xfgiven_name]</td>[/xfgiven_download] <a/>
</tr>
</tbody>
</table>
Your HTML is invalid. Also, the