I'm trying to make a button which will download one of my HTML projects but instead of downloading it just loads that HTML into the page and redirects the page there.
I've tried the download attribute and form action solution and both have failed me.
<th>
<h3>Example Form</h3>This project taught me how to build a form
that you can put into a website for someone to fill out.<br />
<form method="get" action="projects/IlanTretiak1.5-Forms.html">
<button type="submit"> Download </button>
</form>
<form action="projects/IlanTretiak1.5-Forms.html">
<button formtarget="_blank"> Visit </button>
</form>
</th>