Links in HTML
One of the few ways to add pseudo-dynamic functionality to an HTML webpage is to put in hyperlinks. Hyperlinks can be used for practically anything: whether it is navigating a website with back and forward buttons, or linking index entries to actual portions of the webpage.
The syntax of the link command, like all other HTML commands, is a tag pair:
<a href="filename.html">Open file.</a>
The ‘a’ stands for anchor, and the mandatory attribute ‘href’ is short for HTML reference. The text in between the two tags is the text highlighted on the webpage, indicating the link. The contents of the href attribute are always in quotations marks, and can also include a lengthy path name as well.
<a href="/directory1/sub-directory2/file.html">File deeply embedded in the system.</a>
Links are not restricted to just HTML files by any means. If a developer wants to display an image in the window, the anchor tag can be used. Music files and documents can also be referred to, except that it evokes a download process.