A Dumb Download Link Question

I want to have a link that downloads the Test.html file, but no matter what I try, it just opens it in a new tab. How would I go about doing this?
(I am kind of new to Html, Css, And Javascript)

add the download attribute to the link.

https://caniuse.com/download

1 Like