Links to other files (Word documents, ZIP files, PDFs, etc)
You can place a link on your web page to files other than images and web pages. A link can be made to all sorts of different file types. For example, if you have PDF file that you want to share with others, the code would be this:
<A HREF = "MyPDF.pdf">Download my PDF</A>
When the link is clicked on, the browser will see the file extension .pdf and try to open it up. You can have the document open up in a new window by adding TARGET="_blank" to the A HREF code, just like you did above.
You don't have to add anything special to have people download files like PDFs, or Word documents, or zipped files. Just a normal link with the name of the file after the HREF part will do it.
No comments:
Post a Comment