css code for button align to the right code example
Example 1: align button right
<input type="button" value="Click Me" style="float: right;">
Example 2: how to right align a text button
<p align="right">
<input type="button" value="Click Me" />
</p>