Web Design

(Nancy Kaufman) #1

36


Link to Other Pages in Your Site


2 Before the text that
will be linked, type
<a href=”?”>, replacing
? with the path to the page
to which you are linking.

1 Open a page on which you
want to add a hyperlink.

Link to Other Pages in Your Site


H


yperlinking is a core concept behind the Web, which was originally conceived as a set of
hyperlinked documents. Your Web site’s navigation will consist of a set of hyperlinks to other

pages in your site. Hyperlinks in HTML are created by using the anchor tag, which the language


abbreviates to simply . The tag has a required attribute, href, the value of which is set to the


path to the page to which you are linking. Most of the time, you should do this by using relative


paths for links to pages within your site.


1


2

← Previous
Free download pdf