diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -1,6 +1,7 @@ <!-- TABLE OF CONTENTS --> ## Table of Contents +* [Usage](#usage) * [License](#license) * [Contact](#contact) @@ -9,7 +10,23 @@ <!-- USAGE EXAMPLES --> ## Usage -<a href="http://forward.s1n.pw/download-test">View Demo</a> +This is the most basic method of creating a downloadable file, <a href="http://forward.s1n.pw/download-test">view demo</a>. + +```html +<a href="/path/to/file/examplefile2.jpg" download>Link text</a> +``` +<br></br> +You can also **add text** into the `<a>` tag **to create a button.** + +```html +<a href="/path/to/file/examplefile2.jpg" download>Link text</a> +``` +<br></br> +You can also **rename the downloadable file** using the `download=""` variable. + +```html +<a href="/path/to/file/examplefile2.jpg" download="August 31 2016 Sales Report">Download the report</a> +``` |