summaryrefslogtreecommitdiff
path: root/download-test/README.md
diff options
context:
space:
mode:
authors1n <[email protected]>2020-03-04 01:58:07 -0800
committerGitHub <[email protected]>2020-03-04 01:58:07 -0800
commitb1df5a6c1cd87016797a0582875ad6bd315010ff (patch)
treecd3f6aadf7568819a70c7661f4d1d3ad63fe2d07 /download-test/README.md
downloadhtml-examples-master.tar.xz
html-examples-master.zip
Diffstat (limited to 'download-test/README.md')
-rw-r--r--download-test/README.md45
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)