Web Design

(Nancy Kaufman) #1

38


Link to Pages on the Web


2 Before the text that you
want to have linked, type
, replacing
? with the absolute path to
the site to which you want
to link.
Note: Be sure to include the
prefix, such as
http://, or the
link will not work.


1 Open the page onto which
you want to add the link.

Link to Pages on the Web


Y


ou can link to other sites on the Web by using the exact HTML code used in linking to pages in
your site: an anchor tag with an href attribute. However, these links require that you use an

absolute path. Depending on the operating system on which the site is hosted, the path may or may


not be case-sensitive, so you need to pay attention to capitals. A simple way of ensuring that your


link will work is to use your Web browser to navigate to the page, copy the address, and paste it into


your code.


1


2

Free download pdf