diff options
Diffstat (limited to 'download-test/README.md')
| -rw-r--r-- | download-test/README.md | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/download-test/README.md b/download-test/README.md new file mode 100644 index 0000000..d9ab8a3 --- /dev/null +++ b/download-test/README.md @@ -0,0 +1,45 @@ +<!-- TABLE OF CONTENTS --> +## Table of Contents + +* [Usage](#usage) +* [License](#license) +* [Contact](#contact) + + + +<!-- USAGE EXAMPLES --> +## Usage + +This is the most basic method of creating a downloadable file, <a href="https://8cy.github.io/html-examples/download-test/">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> +Or you can **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> +``` + + + +<!-- LICENSE --> +## License + +Distributed under the MIT License. See [`LICENSE`](./LICENSE) for more information. + + + +<!-- CONTACT --> +## Contact + +s1nical - [@9inny](https://twitter.com/9inny) - [email protected] + +Project Link: [https://github.com/8cy/html-examples/download-test](https://github.com/8cy/download-test) |