Linking files across the web using the HTML anchor <A> tag thus creating hyperlinks.
HTML anchor tag - linking files, HTML <A> tag, hyper linking files, using the anchor tag for other files
HTML anchor tag - linking files with the <A> tagGo to HTML anchor tag - linking files with the <A> tagHTML & JavaScriptGo to HTML and JavaScript tips and tricksTips and tricksGo to web development Tips and tricksHomepage

HTML anchor tag - linking files with the <A> tag

Links on web pages are created using the anchor <A> tags. These links can point to a different document on the Internet or to some anchor on the same page. Documents linked in this manner need not be HTML (or PHP/ASP) files. You can place a link to any kind of file.

So if you have a program in .exe format or a .zip file you can attach it to a link like:

<A HREF="brahms.zip">Download Brahms Waltz #3 (zip file)</A>

Download Brahms Waltz #3 (zip file)

When you click on such links, and your browser is not able to display the file on its own, it pops up a window asking you to "open" or "save" the file. If you choose to open the file, the browser will launch the application to which such files are attached or else display a window asking you to pick the software, if it cannot open the software that uses such file formats. You can also specify a target location on your systems' hard drive to save the file to a desired location.


AddThis Social Bookmark Button


Page contents: Details on how to use the HTML anchor tag or <A> to hyperlink to other files across a web site or other web sites.

Page URL: http://www.webdevelopersnotes.com/tips/html/ html_anchor_tag_linking_files.php3



Join Mailing List


Feedback/Questions




50+ web hosting FAQs

Search engine for your website

Free software from Google - The Google Pack Collection

Create your own search engine
Search WebDevelopersNotes.com