download button html

<a href="the/name/of/your/file.x" download><!-- Add icon library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

  
<!-- Auto width -->
<button class="btn"><i class="fa fa-download"></i> Download</button>

  
<!-- Full width -->
<button class="btn" 
  style="width:100%"><i class="fa fa-download"></i> Download</button>