Lesson 4: Linking Tags
(Linking to Local Files)

Static Links Versus Relative Links
Static links use the entire Web address to specify how to link to a local page, whereas relative links assume the same site, and are relative to the directory the current page is in. Relative links are preferred mainly because the links will work locally, while you build your pages, or on the Web once they are uploaded.

In addition, if the site name ever changes, the relative links will not need to be updated, whereas the static links will. Look at the examples below to get a better understanding of the differences in syntax.

Static Link   = http://www.webyoda.com/aboutus.htm
Relative Link = aboutus.htm

Static Link   = http://www.webyoda.com/images/bullet.gif
Relative Link = images/bullet.gif