HTML Download Link

 

HTML Download Link

How to write download link in HTML.

Download link is a link that is used to download a file from the server to the browser's directory on the local disk.

The download link code is written as:

<a href="test_file.zip">Download File</a>

The code will create this link:

Download File

 

The code has the following parts:

  • <a> is the link tag.
  • href attribute sets the file to download.
  • Download File is the text of the link.
  • </a> is the link end tag.

 

See also

© 2017 CalculatorX. All rights reserved.