Questions
Q:

How to center an element horizontally in html

How can I horizontally center button inside the container box. Now button show in left side,

<div class="container">
     <button class="btn" type="button">Button</button>
</div>