Interactive Learning and Design

Introduction

Syllabus

Tutorials

Resources

Site Index



HTML: Adding links

There is a distinction between two types of links, relative and absolute, that is important of note. The first are can be to anywhere on the Internet, the second is within you own site and its files.

Typically an absolute link looks like this:

<a href=http://www.psu.edu/ILD/Class.html>Class List</a>

and a relative link to the same file from within the ILD directory looks like this:

<a href=Class.html>Class List</a>

Use relative links when every you can in your site. If you do your site will be portable - you can move it to a different server with having to change the links. For sites outside of yours you will have to use absolute links.

Next: Adding images

 



Jerrold Maddox jxm22@psu.edu