# Creating a download link

You can create a download link using a few methods.&#x20;

```
<a href="link/to/download" download="filename">Download link</a>
```

Add an object like a text field to the artboard, select it and then open the [Element Panel](/web-export/element-options.md).&#x20;

In the [Markup Before](/web-export/element-options/markup-before-and-markup-after.md) field enter the anchor tag information and in the [Markup After](/web-export/element-options/markup-before-and-markup-after.md) field enter the end anchor tag.&#x20;

![](/files/-M7ik305P3fQaqLiGHbN)

Enter the path on the server to the file and add a download tag with the suggested file name. &#x20;

```
<a href="/downloads/build_4.3.1.zip" download="build.zip">Download link</a>
```

{% hint style="info" %}
The download attribute may not be supported on all browsers.&#x20;
{% endhint %}

Some types of files (called [mime types](https://developer.mozilla.org/en-US/docs/Mozilla/How_Mozilla_determines_MIME_Types)) are opened by the browser. You can see this sometimes happens that a PDF will open rather than download. You can fix this by modifying the headers on the server (out of scope of this document) or change the file type to something like zip.&#x20;

Read more at the links below.&#x20;

{% embed url="<https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a>" %}

{% embed url="<https://developer.mozilla.org/en-US/docs/Mozilla/How_Mozilla_determines_MIME_Types>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://velara-3.gitbook.io/web-export/how-to-section/creating-a-download-link.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
