[Solved] Download file from a href link, how? [closed]


Download file when clicking on the link (instead of navigating to the file).

Refer this site : w3schools-download

Eg:

<!DOCTYPE html>
<html>
<body>


  <a href="https://www.w3schools.com/images/myw3schoolsimage.jpg" download>
     <img border="0" src="/images/myw3schoolsimage.jpg" alt="Click here to  Download" width="104" height="142">
  </a>

</body>
</html>

solved Download file from a href link, how? [closed]