how to align button to 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>
Example 3: how to align form buttons right
style="float: right;"
Example 4: how to right align a text button
<h1>Button with Text</h1>
<div class="flex-box">
<p>Once upon a time in a ...</p>
<button>Read More...</button>
</div>
<h1>Only Button</h1> //button with flex box
<div class="flex-box-2">
<button>The Button</button>
</div>
<h1>Multiple Buttons</h1>
<div class="flex-box-2">
<button>Button 1</button>
<button>Button 2</button>
</div>