Adding links to external Web pages

We create links in HTML documents using anchor tag, <a> ... </a>. The URL to link to is given as the value of the href attribute of the <a> tag, and the "hot" text is between the <a> and </a> tags. The syntax is:
<a href = "URL to link to"> text to use as link </a>.
For example, this is a link to the CIS Department home page. If you view the source of this page, you will see how I made it.

This note shows how to create links to documents on other Web sites. We will not use the full URL (starting with http://) when linking to documents within the same Web site.

There is more on HTML links in our HTML tag reference.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.