home Designing Webpages
Ka-Neng Au
HOME
INTRODUCTION
LAYOUT
FORMAT
LINKS
LISTS
TABLES
BACKGROUNDS
IMAGES
NAVIGATION

LINKS

You can "jump" from one Webpage to another with the use of links. The basic syntax of the anchor tag is: <a href="http://www.rutgers.edu">Rutgers University</a> <a href="lists.html">Lists</a> <a href="mailto:au@newark.rutgers.edu">Write to me!</a> Let's look at the pieces which make up URLs (uniform resource locators) or Web addresses like those above: <a ...> </a> = anchor tag href = hypertext reference http:// = hypertext transport protocol (refers to a Webpage) www.rutgers.edu = implies that the default Webpage (index.html) is to be displayed lists.html = displays a specific file located in the same directory [some text]</a> = these are the words that would normally appear blue and underlined mailto: = for e-mail addresses

Exercise:

<center> <h2>My Webpage</h2> </center> <h3>First Paragraph</h3> <p> ... </p> <hr /> <h3>Second Paragraph</h3> <p> ... </p> <hr width="300" /> A couple of my favorites Websites are <a href="http://www.libraries.rutgers.edu">Rutgers University Libraries</a> and <a href="http://www.google.com">Google</a>. Send me <a href="mailto:au@newark.rutgers.edu">e-mail</a> and tell me your favorite Websites.
This page was last updated 24 March 2004.