To link to a site other than your own, you put an absolute
URL as the destination href
. Here are two examples:
See info <a href="http://www.keypoint.com/about_us/index.html">about KeyPoint</a>. <br /> See the <a href="http://www.w3.org/">World Wide Web Consortium</a> home page.
It looks like this (and you may want to give it a try)
Important: Although browsers don't require you to
type http://
, you must put it into your
href=
attribute in order to correctly specify
an absolute URL.
Side note: since we didn't give a file name in the second link,
the www.w3.org
server served up its default file.
<< The <a> element | Index | Try the <a> element >> |